| • | Define layout views |
| • | Set view display |
| • | Place notes |
| • | Place symbols |
| • | Define tables |
| • | Show dimensions |
| • | Name—New drawing name |
| • | Template—Name of an existing template |
| • | DrawingModel—Name and type of the solid model to use while populating template views |
| • | Options—Sequence of options defined by the enumerated type pfcDrawingCreateOption to create the drawing. The options are as follows:
|
| • | DWGCREATE_ERR_SAVED_VIEW_DOESNT_EXIST—Saved view does not exist. |
| • | DWGCREATE_ERR_X_SEC_DOESNT_EXIST—Specified cross section does not exist. |
| • | DWGCREATE_ERR_EXPLODE_DOESNT_EXIST—Exploded state did not exist. |
| • | DWGCREATE_ERR_MODEL_NOT_EXPLODABLE—Model cannot be exploded. |
| • | DWGCREATE_ERR_SEC_NOT_PERP—Cross section view not perpendicular to the given view. |
| • | DWGCREATE_ERR_NO_RPT_REGIONS—Repeat regions not available. |
| • | DWGCREATE_ERR_FIRST_REGION_USED—Repeat region was unable to use the region specified. |
| • | DWGCREATE_ERR_NOT_PROCESS_ASSEM— Model is not a process assembly view. |
| • | DWGCREATE_ERR_NO_STEP_NUM—The process step number does not exist. |
| • | DWGCREATE_ERR_TEMPLATE_USED—The template does not exist. |
| • | DWGCREATE_ERR_NO_PARENT_VIEW_FOR_PROJ—There is no possible parent view for this projected view. |
| • | DWGCREATE_ERR_CANT_GET_PROJ_PARENT—Could not get the projected parent for a drawing view. |
| • | DWGCREATE_ERR_SEC_NOT_PARALLEL—The designated cross section was not parallel to the created view. |
| • | DWGCREATE_ERR_SIMP_REP_DOESNT_EXIST—The designated simplified representation does not exist. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | The location of the view origin with respect to the drawing origin. |
| • | The scale of the view units with respect to the drawing units |
| • | The rotation of the model with respect to the drawing coordinate system. |
| |
| |
| |
| |
| • | ITEM_FEATURE—Feature |
| • | ITEM_SURFACE—Surface |
| • | ITEM_EDGE—Edge |
| • | ITEM_COORD_SYS—Coordinate system |
| • | ITEM_AXIS—Axis |
| • | ITEM_POINT—Point |
| • | ITEM_QUILT—Quilt |
| • | ITEM_CURVE—Curve |
| • | ITEM_LAYER—Layer |
| • | ITEM_NOTE—Note |
| • | ITEM_SIMPREP—Simplified representation |
| • | ITEM_SOLID_GEOMETRY—Solid geometry |
| • | ITEM_TABLE—Table |
| • | ITEM_DTL_ENTITY—Detail entity |
| • | ITEM_DTL_NOTE—Detail note |
| • | ITEM_DTL_GROUP—Detail group |
| • | ITEM_DTL_SYM_DEFINITION—Detail system definition |
| • | ITEM_DTL_SYM_INSTANCE-Detail system instance |
| • | ITEM_DTL_OLE_OBJECT—Detail OLE object |
| • | ITEM_EXPLODED_STATE—Exploded state |
| • | ITEM_EDGE_START—Start of edge |
| • | ITEM_LOG_EDGE |
| • | ITEM_EDGE_END—End of edge |
| • | ITEM_XSEC—Cross section |
| • | ITEM_LAYER_STATE-Layer state |
| • | ITEM_COMBINED_STATE—Combined state |
| • | ITEM_STYLE_STATE |
| • | ITEM_RP_MATERIAL— |
| • | ITEM_VIEW—View |
| • | ITEM_SURF_FIN—Surface finish |
| • | ITEM_ANNOT_PLANE—Annotation plane |
| • | ITEM_ANNOTATION_ELEM—Annotation Element |
| • | ITEM_SET_DATUM_TAG—Datum tag |
| • | ITEM_DIMENSION—Dimension |
| • | ITEM_REF_DIMENSION—Reference dimension |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Attachments—The entities that the dimension is attached to. The selections should include the drawing model view. |
| • | IsRefDimension—True if the dimension is a reference dimension, otherwise null or false. |
| • | OrientationHint—Describes the orientation of the dimensions in cases where this cannot be deduced from the attachments themselves. |
| • | Senses—Gives more information about how the dimension attaches to the entity, such as to what part of the entity and in what direction
the dimension runs. The types of dimension senses are as follows:
|
| • | TextLocation—The location of the dimension text, in world units. |
| • | DIMPOINT_END1— The first end of the entity |
| • | DIMPOINT_END2—The second end of the entity |
| • | DIMPOINT_CENTER—The center of an arc or circle |
| • | DIMPOINT_NONE—No information such as location or direction of the attachment is specified. This is similar to setting the PointType to DIMSENSE_NONE. |
| • | DIMPOINT_MIDPOINT—The mid-point of the entity |
| • | DIMLINAOCTANGENT_LEFT0—The tangent is left of the line, and is on the same side, of the center of the arc or circle, as the line. |
| • | DIMLINAOCTANGENT_RIGHT0—The tangent is right of the line, and is on the same side, of the center of the arc or circle, as the line. |
| • | DIMLINAOCTANGENT_LEFT1—The tangent is left of the line, and is on the opposite side of the line. |
| • | DIMLINAOCTANGENT_RIGHT1— The tangent is right of the line, and is on the opposite side of the line. |
| • | IsFirst—Is set to TRUE if the angle dimension starts from the specified entity in a counterclockwise direction. Is set to FALSE if the dimension ends at the specified entity. The value is TRUE for one entity and FALSE for the other entity forming the angle. |
| • | ShouldFlip—If the value of ShouldFlip is FALSE, and the direction of the specified entity is away from the vertex of the angle, then the dimension attaches directly to the entity. If the direction of the entity is away from the vertex of the angle, then the dimension is attached to the witness line. The witness line is in line with the entity but in the direction opposite to the vertex of the angle. If the value of ShouldFlip is TRUE then the above cases are reversed. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Origin—This parameter stores a three dimensional point specifying the location of the table origin. The origin is the position of the top left corner of the table. |
| • | RowHeights—Specifies the height of each row of the table. |
| • | ColumnData—Specifies the width of each column of the table and its justification. |
| • | SizeTypes—Indicates the scale used to measure the column width and row height of the table. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | FileName—Name of the file containing the drawing table. |
| • | Position—Coordinates of the point on the drawing sheet, where the retrieved table must be placed. You must specify the value in screen coordinates. |
| • | pfcTableRetrieveInstructions.FileName—Sets the name of the drawing table. You must not specify the extension. |
| • | pfcTableRetrieveInstructions.Path—Sets the path to the drawing table file. The path must be specified relative to the working directory. |
| • | pfcTableRetrieveInstructions.Version—Sets the version of the drawing table that must be retrieved. If you specify NULL the latest version of the drawing table is retrieved. |
| • | pfcTableRetrieveInstructions.Position—Sets the coordinates of the point on the drawing sheet, where the table must be placed. You must specify the value in screen coordinates. |
| • | pfcTableRetrieveInstructions.ReferenceSolid—Sets the model from which data must be copied into the drawing table. If this argument is passed as NULL, an empty table is created. |
| • | pfcTableRetrieveInstructions.ReferenceRep—Sets the handle to the simplified representation in a solid, from which data must be copied into the drawing table. If this argument is passed as NULL, and the argument solid is not NULL, then data from the solid model is copied into the drawing table. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Draft Entities—Contain graphical items created in Creo Parametric. The items are as follows:
|
| • | Notes—Textual annotations |
| • | Symbol Definitions—Contained in the drawing’s symbol gallery. |
| • | Symbol Instances—Instances of a symbol placed in a drawing. |
| • | Draft Groups—Groups of detail items that contain notes, symbol instances, and draft entities. |
| • | OLE objects—Object Linking and Embedding (OLE) objects embedded in the Creo Parametric drawing file. |
| |
| |
| |
| |
| • | ITEM_DTL_ENTITY—Detail Entity |
| • | ITEM_DTL_NOTE—Detail Note |
| • | ITEM_DTL_GROUP—Draft Group |
| • | ITEM_DTL_SYM_DEFINITION—Detail Symbol Definition |
| • | ITEM_DTL_SYM_INSTANCE—Detail Symbol Instance |
| • | ITEM_DTL_OLE_OBJECT—Drawing embedded OLE object |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |

| |
| |
| |
| |
| |
| |
| |
| |
| pfcDetailGroupInstructions.IsDisplayed
|
| |
| |
| |
| |
| |
| |
| |
| |
| • | SYMDEF_FIXED—Symbol height is fixed. |
| • | SYMDEF_VARIABLE—Symbol height is variable. |
| • | SYMDEF_RELATIVE_TO_TEXT—Symbol height is determined relative to the text height. |
| • | FileName—Name of the symbol definition file. |
| • | Source—Source of the symbol definition file. The input parameter Source is defined by the enumerated type pfcDetailSymbolDefItemSource. The valid values which are supported are listed below:
|
| • | FilePath—Path to the symbol definition file. It is relative to the path specified by the option pro_symbol_dir in the configuration file. A null value indicates that the function should search the current directory. |
| • | Version—Numerical version of the symbol definition file. A null value retrieves the latest version. |
| • | UpdateUnconditionally—True if Creo should update existing instances of this symbol definition, or false to quit the operation if the definition exists in the model. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | SYMDEFATTACH_FREE—Attachment on a free point. |
| • | SYMDEFATTACH_LEFT_LEADER—Attachment via a leader on the left side of the symbol. |
| • | SYMDEFATTACH_RIGHT_LEADER— Attachment via a leader on the right side of the symbol. |
| • | SYMDEFATTACH_RADIAL_LEADER—Attachment via a leader at a radial location. |
| • | SYMDEFATTACH_ON_ITEM—Attachment on an item in the symbol definition. |
| • | SYMDEFATTACH_NORMAL_TO_ITEM—Attachment normal to an item in the symbol definition. |
| • | DETAIL_SYMBOL_GROUP_INTERACTIVE—Symbol groups are interactively selected for display. This is the default value in the GRAPHICS mode. |
| • | DETAIL_SYMBOL_GROUP_ALL—All non-exclusive symbol groups are included for display. |
| • | DETAIL_SYMBOL_GROUP_NONE—None of the non-exclusive symbol groups are included for display. |
| • | DETAIL_SYMBOL_GROUP_CUSTOM—Symbol groups specified by the application are displayed. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | DTLSYMINST_ALL_GROUPS—Retrieves all groups in the definition of the symbol instance. |
| • | DTLSYMINST_ACTIVE_GROUPS—Retrieves only those groups that are actively shown in the symbol instance. |
| • | DTLSYMINST_INACTIVE_GROUPS—Retrieves only those groups that are not shown in the symbol instance. |
| |
| |
| |
| |
| |
| • | The way in which a drawing note or a symbol instance is placed in a drawing. |
| • | The way in which a leader on a drawing note or symbol instance is attached. |
| • | ATTACH_FREE—The attachment is at a free point possibly with respect to a given drawing view. |
| • | ATTACH_PARAMETRIC—The attachment is to a point on a surface or an edge of a solid. |
| • | ATTACH_OFFSET—The attachment is offset to another drawing view, to a model item, or to a 3D model annotation. |
| • | ATTACH_TYPE_UNSUPPORTED—The attachment is to an item that cannot be represented in PFC at the current time. However, you can still retrieve the location of the attachment. |
| |
| |
| |
| • | inAttachedGeometry— Specifies the selection representing the item to attach to. This should include the drawing model view. The attachment will occur at the selected parameters |
| • | inAttachmentPoint—Specifies the attachment point, in screen coordinates. |