Available Set Functions used by CAM Library. More...
Functions | |
| int | camlib_SetLayer (int nLayer) |
| Sets the Layer Number for the active figure. More... | |
| int | camlib_SetPurpose (int nPurpose) |
| Sets the Purpose Number for the active figure. More... | |
| int | camlib_SetCompositeLevel (int nCompositeLevel) |
| Assign the Composite Level for the active figure. For more information about composites view Composite 101. More... | |
| int | camlib_SetNet (char *net) |
| Sets the Net for the active figure. Net names are case sensative. More... | |
| int | camlib_SetPathWidth (float fWidth) |
| Sets the Path Width for the active figure. More... | |
| int | camlib_SetPathType (int nPathType) |
| Sets the Path Type for the active figure. More... | |
| int | camlib_SetTextString (char *textvalue) |
| Sets the Text string for the current Text figure. More... | |
| int | camlib_SetTextStyle (char *textstyle) |
| Sets the Text string for the current Text figure. More... | |
| int | camlib_SetTextHeight (float height) |
| Sets the Text height for the current Text figure. More... | |
| int | camlib_SetTextAngle (float angle) |
| Sets the Text angle for the current Text figure. More... | |
| int | camlib_SetTextMirror (int mirror) |
| Sets horizontal or vertical Mirror for the current Text figure. More... | |
| int | camlib_SetTextAlign (char *align) |
| Sets the Text alignment for the current Text figure. More... | |
| int | camlib_SetInsertName (char *insertname) |
| Sets the master cell name for the current Insert figure. More... | |
| int | camlib_SetInsertAngle (float angle) |
| Sets the angle for the current Insert figure. More... | |
| int | camlib_SetInsertMirror (int mirror) |
| Sets the angle for the current Insert figure. More... | |
| int | camlib_SetInsertStepRepeat (int rows, int cols, float rowdist, float coldist) |
| Sets the Arrayed parameters the current Insert figure. The resulting Insert will be an Arrayed Insert, which can drastically reduce design data size. More... | |
| int | camlib_SetPointArray (int n, float x, float y) |
| Edit the point array for the active figure. More... | |
| int | camlib_SetPoint (float x, float y) |
| Edit the point for the active figure. More... | |
| int | camlib_SetDcode (int nDcode) |
| Assign Dcode for the active figure. More... | |
| int | camlib_SetNcToolNumber (int nTool) |
| Assign the NC Tool number for the active figure. More... | |
| int | camlib_SetNcToolType (int nToolType) |
| Assign the NC Tool Type for the active figure. To view available NC Tool number values, see CAM_NCToolType. More... | |
| int | camlib_SetNcToolCompensation (int nToolCompensation) |
| Assign the NC Tool compensation for the active figure. To view available NC Tool compensation values, see CAM_CompensationSideType. More... | |
| int | camlib_SetActiveFigure (int n) |
| Sets the current figure from the active cell. More... | |
Available Set Functions used by CAM Library.
| int camlib_SetActiveFigure | ( | int | n | ) |
Sets the current figure from the active cell.
| n | Position in figure array to make active. |
| int camlib_SetCompositeLevel | ( | int | nCompositeLevel | ) |
Assign the Composite Level for the active figure. For more information about composites view Composite 101.
| nCompositeLevel | Composite Level number to assign. |
| int camlib_SetDcode | ( | int | nDcode | ) |
Assign Dcode for the active figure.
| nDcode | Dcode number to assign to the active figure. Must be between 10 to 10000. |
| int camlib_SetInsertAngle | ( | float | angle | ) |
Sets the angle for the current Insert figure.
| angle | Angle to assign for the current Insert. |
| int camlib_SetInsertMirror | ( | int | mirror | ) |
Sets the angle for the current Insert figure.
| mirror | Assign horizontal or vertical Mirror for the current Insert figure.
|
| int camlib_SetInsertName | ( | char * | insertname | ) |
Sets the master cell name for the current Insert figure.
| insertname | Cell name to assign for the current Insert. |
| int camlib_SetInsertStepRepeat | ( | int | rows, |
| int | cols, | ||
| float | rowdist, | ||
| float | coldist | ||
| ) |
Sets the Arrayed parameters the current Insert figure. The resulting Insert will be an Arrayed Insert, which can drastically reduce design data size.
| rows | Numbers of Rows used for Array. |
| cols | Numbers of Columns used for Array. |
| rowdist | Distance between Rows (in millimeters). |
| coldist | Distance between Columns (in millimeters). |
| int camlib_SetLayer | ( | int | nLayer | ) |
Sets the Layer Number for the active figure.
| nLayer | Layer number to assign. |
| int camlib_SetNcToolCompensation | ( | int | nToolCompensation | ) |
Assign the NC Tool compensation for the active figure. To view available NC Tool compensation values, see CAM_CompensationSideType.
| nToolCompensation | NC Tool compensation to assign to the active figure. To view available NC Tool compensation values, see CAM_CompensationSideType |
| int camlib_SetNcToolNumber | ( | int | nTool | ) |
Assign the NC Tool number for the active figure.
| nTool | NC Tool number to assign to the active figure. Must be 1 to 1000. |
| int camlib_SetNcToolType | ( | int | nToolType | ) |
Assign the NC Tool Type for the active figure. To view available NC Tool number values, see CAM_NCToolType.
| nToolType | NC Tool Type to assign to the active figure. To view available NC Tool number values, see CAM_NCToolType |
| int camlib_SetNet | ( | char * | net | ) |
Sets the Net for the active figure. Net names are case sensative.
| net | Net name to assign to active figure. |
| int camlib_SetPathType | ( | int | nPathType | ) |
Sets the Path Type for the active figure.
| nPathType | Path type to assign to path (i.e active figure). See more information about available Path Types values CAM_PathType |
| int camlib_SetPathWidth | ( | float | fWidth | ) |
Sets the Path Width for the active figure.
| fWidth | Width to assign to path (i.e active figure). Value in millimeters. |
| int camlib_SetPoint | ( | float | x, |
| float | y | ||
| ) |
Edit the point for the active figure.
| x | Assign Point (X value in millimeters). |
| y | Assign Point (X value in millimeters). |
| int camlib_SetPointArray | ( | int | n, |
| float | x, | ||
| float | y | ||
| ) |
Edit the point array for the active figure.
| n | Vertex to edit. |
| x | Assign Point (X value in millimeters). |
| y | Assign Point (X value in millimeters). |
| int camlib_SetPurpose | ( | int | nPurpose | ) |
Sets the Purpose Number for the active figure.
| nPurpose | Purpose number to assign. |
| int camlib_SetTextAlign | ( | char * | align | ) |
Sets the Text alignment for the current Text figure.
| align | Assign the alignment for the current Text figure.
|
| int camlib_SetTextAngle | ( | float | angle | ) |
Sets the Text angle for the current Text figure.
| angle | Assign Angle for the current Text figure. |
| int camlib_SetTextHeight | ( | float | height | ) |
Sets the Text height for the current Text figure.
| height | Assign height for the current Text figure (in millimeters). |
| int camlib_SetTextMirror | ( | int | mirror | ) |
Sets horizontal or vertical Mirror for the current Text figure.
| mirror | Assign horizontal or vertical Mirror for the current Text figure.
|
| int camlib_SetTextString | ( | char * | textvalue | ) |
Sets the Text string for the current Text figure.
| textvalue | Assign new string to the Text figure. |
| int camlib_SetTextStyle | ( | char * | textstyle | ) |
Sets the Text string for the current Text figure.
| textstyle | Text style to assign to path (i.e active figure). The font name can be one of the available font files located in the CAM Library folder ../fonts Make sure to removee the .fnt extesion. |