Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

CDS

  • Last UpdatedJan 05, 2024
  • 2 minute read

Purpose

To input data to and output data from a Curves Data Store.

Syntax

CDS ( APPEND $W ) < $F >
---------------------
( CLOSE ) < $F ! /ALL > ( /SAVE  )
    ( /NOSAVE )
-----------------------------
( DELETE $L ) < /LIBRARY $F >
-----------------------------
( DIRECTORY ) < $F < /DATA > < /SPLINE > !
  /ALL < /DATA > < /SPLINE > < SYSTEM > >
  < /FILE= $F >
----------------------------------------------------
( EXTRACT $W $F ) < AS > ( BUTTOCK  )
    ( FOB  )
    ( FOS  )
    ( KNUCKLE  )
    ( PLINE  )
    ( SECTION  )
    ( STEM /PROFILE  )
    ( STEM /RADII  )
    ( STEM /TANGENT  )
    ( STEM /ECCENTRICITY )
    ( STEM /HALFSIDING  )
    ( STERN /PROFILE  )
    ( STERN /RADII  )
    ( STERN /TANGENT  )
    ( TANGENT  )
    ( WATERLINE  )
-----------------------------------------------
( OPEN $F ) < /NEW  >
  < /READ_ONLY >
--------------------------
( SAVE < $F ! /ALL > )

Description

The Curves Data Store (CDS) is primarily used to transfer curve data to other Initial Design systems.

Command Qualifiers

APPEND

Store the data for the current curve in the CDS with the given name. If the curve already exists then it will be overwritten.

CLOSE

Close the CDS.

DELETE

Delete the named curve from the CDS.

DIRECTORY

Output a directory list of the curves in the CDS. This can optionally be sent to a file by using the /FILE qualifier.

EXTRACT

Extract the data for the named curve from the CDS and make it current. The curve is made current and assigned the user selected curve type. If the curve is extracted as an orthogonal curve then it must be truly orthogonal, its position will be determined from the constant element of coordinates.

OPEN

Open a CDS with the given name. When a CDS is opened the contents are copied to a workfile. Only when a SAVE is performed is the original data store updated.

SAVE

Updates the CDS with the current contents of the workfile.

/NEW

Create a new PDS with the given name. If the option is not used then the PDS must already exit.

/NOSAVE

Modifications made to the CDS since it was opened will be discarded.

/READ_ONLY

Open the PDS for read only.

/SAVE

Save all modifications.

Examples

CDS OPEN curves /NEW
CDS APPEND kn1
CDS DIRECTORY
CDS DELETE oldkn
CDS CLOSE /SAVE

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in