| • | Define layout views |
| • | Set view display |
| • | Place notes |
| • | Place symbols |
| • | Define tables |
| • | Show dimensions |
| • | New drawing name |
| • | Name of an existing template |
| • | Name and type of the solid model to use while populating template views |
| • | Sequence of options to create the drawing. The options are as follows:
|
| • | Type—The type of error as follows:
|
| • | ViewName—Name of the view where the error occurred. |
| • | SheetNumber—Sheet number where the error occurred. |
| • | ObjectName—Name of the invalid or missing object. |
| • | View—2D view in which the error occurred. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | show—Specifies if the drawing format must be displayed. Pass true to display the drawing format. |
| • | sheet—Specifies the sheet number of the sheet. Set it to a value less than 1 to display or hide the drawing format of the currently selected sheet. |
| • | TextLines—Specifies the text lines using the pfcDetailTextLines object. |
| • | NoteAttach—Specifies the details of the attachment of the note using the pfcAttachment object. |
| • | LeaderAttachs—Specifies the leaders attached to the note using the pfcDetailLeaderAttachments object. |
| • | Types—Specifies the types of arrowheads used for leaders attached to the note using the wfcLeaderArrowTypes object. |
| • | PaperSize—Specifies the size of the drawing using the enumerated data type pfcPlotPaperSize. |
| • | Width—Specifies the width of the drawing in inches, when PaperSize is set to pfcVARIABLESIZEPLOT. It specifies the width of the drawing in millimeters, when size is set to pfcVARIABLESIZE_IN_MM_PLOT.
Note
This argument is ignored for all the other sizes of the drawing except pfcVARIABLESIZEPLOT and pfcVARIABLESIZE_IN_MM_PLOT.
|
| • | Height—Specifies the height of the drawing in inches, when the size is set to pfcVARIABLESIZEPLOT. |
| • | pfcDRAWVIEW_GENERAL—General drawing views |
| • | pfcDRAWVIEW_PROJECTION—Projected drawing views |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Style—Whether to display as wireframe, hidden lines, no hidden lines, or shaded |
| • | TangentStyle—Linestyle used for tangent edges |
| • | CableStyle—Linestyle used to display cables |
| • | RemoveQuiltHiddenLines—Whether or not to apply hidden-line-removal to quilts |
| • | ShowConceptModel—Whether or not to display the skeleton |
| • | ShowWeldXSection—Whether or not to include welds in the cross-section |
| • | 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. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcCABLEDISP_DEFAULT—Uses the display setting from Creo Parametric Options dialog box, under Entity Display, Cable display settings. |
| • | wfcCABLEDISP_CENTERLINE—Displays centerlines of cables and wires. |
| • | wfcCABLEDISP_THICK—Displays cables and wires as a thick lines. |
| • | wfcCableDisplay_nil—NULL value. |
| • | pfcDISPSTYLE_DEFAULT—When you import drawings from Pro/ENGINEER Wildfire 2.0 or earlier releases that were saved with the Default option, this option is retained for these drawings. Once you update these drawings in Pro/ENGINEER Wildfire 3.0 and later releases, the wfcDISPSTYLE_DEFAULT option changes to wfcDISPSTYLE_FOLLOW_ENVIRONMENT. |
| • | pfcDISPSTYLE_WIREFRAME—Shows all edges in wireframe style. |
| • | pfcDISPSTYLE_HIDDEN_LINE—Shows all edges in hidden line style. |
| • | pfcDISPSTYLE_NO_HIDDEN—Removes all hidden edge from view display. |
| • | pfcDISPSTYLE_SHADED—Shows the view in shaded display mode. |
| • | pfcDISPSTYLE_FOLLOW_ENVIRONMENT—Uses the current configuration settings for display. |
| • | pfcDISPSTYLE_SHADED_WITH_EDGES—Shows the model as a shaded solid along with its edges. |
| • | wfcTANEDGE_DEFAULT—Uses the default settings. |
| • | wfcTANEDGE_NONE—Turns off the display of tangent edges |
| • | wfcTANEDGE_CENTERLINE—Displays tangent edges in centerline font. |
| • | wfcTANEDGE_PHANTOM—Displays tangent edges in phantom font. |
| • | wfcTANEDGE_DIMMED—Displays tangent edges in dimmed system color. |
| • | wfcTANEDGE_SOLID—Displays tangent edges as solid lines. |
| • | pfcITEM_DIMENSION—Dimension |
| • | pfcITEM_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, i.e., 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. |
| • | pfcDIMPOINT_END1— The first end of the entity |
| • | pfcDIMPOINT_END2—The second end of the entity |
| • | pfcDIMPOINT_CENTER—The center of an arc or circle |
| • | pfcDIMPOINT_NONE—No information such as location or direction of the attachment is specified. This is similar to setting the PointType to pfcDIMSENSE NONE. |
| • | pfcDIMPOINT_MIDPOINT—The mid point of the entity |
| • | pfcDIMLINAOCTANGENT_LEFT0—The tangent is to the left of the line, and is on the same side, of the center of the arc or circle, as the line. |
| • | pfcDIMLINAOCTANGENT_RIGHT0—The tangent is to the right of the line, and is on the same side, of the center of the arc or circle, as the line. |
| • | pfcDIMLINAOCTANGENT_LEFT1—The tangent is to the left of the line, and is on the opposite side of the line. |
| • | pfcDIMLINAOCTANGENT_RIGHT1— The tangent is to the 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 a 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. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcSECONDARY_DIM_DISPLAY_OFF— Turns off display of dual dimension. |
| • | wfcSECONDARY_DIM_DISPLAY_TOP—Displays the secondary dimension on top of the primary dimension. The primary dimension is displayed in brackets. |
| • | wfcSECONDARY_DIM_DISPLAY_BOTTOM— Displays the secondary dimension below the primary dimension. The secondary dimension is displayed in brackets. |
| • | wfcSECONDARY_DIM_DISPLAY_LEFT— Displays the secondary dimension to the left of the primary dimension. The primary dimension is displayed in brackets. |
| • | wfcSECONDARY_DIM_DISPLAY_RIGHT— Displays the secondary dimension to the right of the primary dimension. The secondary dimension is displayed in brackets. |
| • | wfcSECONDARY_DIM_DISPLAY_ONLY— Displays only the secondary dimension. |
| • | 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::SetFileName—Sets the name of the drawing table. You must not specify the extension. |
| • | pfcTableRetrieveInstructions::SetPath—Sets the path to the drawing table file. The path must be specified relative to the working directory. |
| • | pfcTableRetrieveInstructions::SetVersion—Sets the version of the drawing table that must be retrieved. If you specify NULL rthe latest version of the drawing table is retrieved. |
| • | pfcTableRetrieveInstructions::SetPosition—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::SetReferenceSolid—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::SetReferenceRep—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 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcTABLEGROWTHDIR_DOWNRIGHT |
| • | wfcTABLEGROWTHDIR_DOWNLEFT |
| • | wfcTABLEGROWTHDIR_UPRIGHT |
| • | wfcTABLEGROWTHDIR_UPRIGHT |
| • | TABLEFORMAT_TBL—Specifies the tabular format. |
| • | TABLEFORMAT_TBL—Specifies the tabular format. |
| • | TABLEFORMAT_CSV—Specifies the CSV format. |
| • | pfcTABLESIZE_BY_NUM_CHARS—Specifies the size in characters. If the specified value for width of a column or height of a row is a fraction, pfcTABLESIZE_BY_NUM_CHARS rounds down the fractional value to the nearest whole number. |
| • | pfcTABLESIZE_BY_LENGTH—Specifies the size in screen coordinates. |
| • | wfcTBLROWHEIGHT_AUTOADJUST_FALSE— Specifies that the automatic row height adjustment property is not set. |
| • | wfcTBLROWHEIGHT_AUTOADJUST_TRUE— Specifies that the automatic row height adjustment property is set. |
| • | wfcTBLROWHEIGHT_AUTOADJUST_TRUE_LEGACY— Specifies a pre-Creo Parametric 1.0 release behavior. In this behavior, sometimes the row height may be automatically adjusting and sometimes may not be automatically adjusting. To set an explicit row adjustment status use the method wfcWTable::SetRowHeightAutoAdjustType. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcVIEW_MODEL_COLOR—Specifies that the drawing colors are determined by the model settings. |
| • | wfcVIEW_DRAWING_COLOR—Specifies that the drawing colors are determined by the drawing settings. |
| • | wfcVIEW_GENERAL—Specifies a general drawing view. |
| • | wfcVIEW_PROJECTION—Specifies a projected drawing view. |
| • | wfcVIEW_AUXILIARY—Specifies an auxiliary drawing view. |
| • | wfcVIEW_DETAIL—Specifies a detailed drawing view. |
| • | wfcVIEW_REVOLVE—Specifies a revolved drawing view. |
| • | wfcVIEW_COPY_AND_ALIGN—Specifies a copy and align drawing view. |
| • | wfcVIEW_OF_FLAT_TYPE—Specifies a flat type drawing view. |
| • | wfcVIEW_ALIGN_HORIZONTAL—Specifies a horizontal alignment for the view. The drawing view and the reference view lie on the same horizontal line. |
| • | wfcVIEW_ALIGN_VERTICAL—Specifies a vertical alignment for the view. In case of vertical alignment, the drawing view and the view are aligned to lie on the same vertical line. |
| • | wfcVIEWDISP_NOT_SHOWN—Specifies that the solid model has never been shown in a particular drawing. |
| • | wfcVIEWDISP_SHOWN—Specifies that the solid model has been shown in a particular drawing. |
| • | wfcVIEWDISP_ERASED—Specifies that the solid model has been erased in a particular drawing. |
| • | wfcPIPINGDISP_DEFAULT—Displays the default appearance of pipes for the piping assembly. |
| • | wfcPIPINGDISP_CENTERLINE—Displays pipes as centerlines without insulation. |
| • | wfcPIPINGDISP_THICK_PIPES—Displays thick pipes without insulation. |
| • | wfcPIPINGDISP_THICK_PIPES_AND_INSULATION—Displays thick pipes and insulation. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Instructions— Specifies a wfcDetailViewInstructions object which contains all the information needed to create a detailed view. |
| • | Location— Specifies the centerpoint of the view as a pfcPoint3D object. |
| • | The X and Y coordinate directions match the screen space. |
| • | The coordinate point (0,0) maps to the reference point. |
| • | The scaling unit is of one inch relative to the top model of the view. If two points in the spline are at a distance of '1' from each other, then in the actual view, the points will be one inch distant from each other, if measured in the scale of the top model. For example, if one of the points in the spline definition has coordinates (0.5, 0.0, 0.0), then the position of that point is not half an inch to the right of the reference point on the paper. Instead, when projected as a point in the space of the top model of the view, it is half an inch to the right of the reference point when measured in the space of that model. |
| • | wfcDETAIL_BOUNDARY_CIRCLE—Draws a circle in the parent view. |
| • | wfcDETAIL_BOUNDARY_ELLIPSE—Draws an ellipse in the parent view. |
| • | wfcDETAIL_BOUNDARY_HORZ_VER_ELLIPSE—Draws an ellipse with horizontal or vertical major axis. |
| • | wfcDETAIL_BOUNDARY_SPLINE—Displays the spline boundary drawn by the user in the parent view. |
| • | wfcDETAIL_BOUNDARY_ASME_CIRCLE—Displays an ASME standard compliant circle as an arc with arrows and the detailed view name. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | MdlView—Specifies the name of the saved view in the model. |
| • | Orientation—Specifies the orientation of the view using the enumerated data type wfcDrawingViewOrientationType. The view types are:
|
| • | XAngle—This input argument is required when the Orientation type is specified as wfcVIEW_ORIENTATION_USERDEFINED. For all other orientation types, this argument is ignored. |
| • | YAngle—This input argument is required when the Orientation type is specified as wfcVIEW_ORIENTATION_USERDEFINED. For all other orientation types, this argument is ignored. |
| • | MdlOrient1—Specifies the orientation of the first geometric reference using the enumerated data type wfcDrawingViewOrientationRefType. The orientation types are:
|
| • | OrientRef1—Specifies the first reference selection on the model. |
| • | MdlOrient2—Specifies the orientation of the second geometric reference using the enumerated data type wfcDrawingViewOrientationRefType. |
| • | OrientRef2—Specifies the second reference selection on the model. |
| • | RotationAngleRef—Specifies the angle reference using the enumerated data type wfcDrawingViewOrientationAngleType. The angle types are:
|
| • | RefAngle—Specifies the angle in degrees with the selected reference. |
| • | AxisSel—Specifies the reference selection. It can be an axis or NULL for other type. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcVIEW_NO_SECTION—Specifies no section. |
| • | wfcVIEW_TOTAL_SECTION—Specifies the complete drawing view. |
| • | wfcVIEW_AREA_SECTION—Specifies a 2D cross section. |
| • | wfcVIEW_PART_SURF_SECTION—Specifies a 3D cross section. |
| • | wfcVIEW_3D_SECTION—Specifies a section created out of a solid surface or a datum quilt in the model. |
| • | wfcVIEW_SECTION_AREA_FULL—Sectioning is applied to the full drawing view. |
| • | wfcVIEW_SECTION_AREA_HALF—Sectioning is applied to half drawing view depending upon the inputs for half side. |
| • | wfcVIEW_SECTION_AREA_LOCAL—Specifies local sectioning. |
| • | wfcVIEW_SECTION_AREA_UNFOLD—Unfold the drawing view and section it. |
| • | wfcVIEW_SECTION_AREA_ALIGNED—Sectioning is as per the aligned views. |
| • | SectionName—Specifies the name of the 3D cross section. |
| • | ShowXHatch—Specifies a boolean value that determines whether the cross section hatching must be displayed in the 3D cross-sectional view. Set this argument to true to display the X-hatching |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcVIEW_FULL_AREA—The complete drawing view is retained as the visible area. |
| • | wfcVIEW_HALF_AREA—A portion of the model from the view on one side of a cutting plane is removed. |
| • | wfcVIEW_PARTIAL_AREA—A portion of the model in a view within a closed boundary is displayed. |
| • | wfcVIEW_BROKEN_AREA—A portion of the model view from between two or more selected points is removed, and the gap between the remaining two portions is closed within a specified distance. |
| • | ViewBrokenDir—Specify the direction of the broken lines that define the broken area to be removed in terms of the enumerated type wfcViewBrokenDir. |
| • | FirstBreakLine—Specify the selection point in terms of the pfcSelection object for the first break line. |
| • | SecondBreakLine—Specify the selection point in terms of the pfcSelection object for the second break line. |
| • | ViewBrokenLineStyle—Specifies the line style for the broken lines in terms of the enumerated type wfcViewBrokenLineStyle. |
| • | wfcVIEW_BROKEN_DIR_HORIZONTAL—Specifies the horizontal direction. |
| • | wfcVIEW_BROKEN_DIR_VERTICAL—Specifies the vertical direction. |
| • | wfcVIEW_BROKEN_LINE_STRAIGHT—Specifies a straight broken line. |
| • | wfcVIEW_BROKEN_LINE_SKETCH—Specifies a random sketch drawn by the user that defines the broken line. |
| • | wfcVIEW_BROKEN_LINE_S_CURVE_OUTLINE—Specifies a S-curve on the view outline. |
| • | wfcVIEW_BROKEN_LINE_S_CURVE_GEOMETRY—Specifies a S-curve on the geometry. |
| • | wfcVIEW_BROKEN_LINE_HEART_BEAT_OUTLINE—Specifies a heartbeat type of curve on the view outline. |
| • | wfcVIEW_BROKEN_LINE_HEART_BEAT_GEOMETRY—Specifies a heartbeat type of curve on the geometry. |
| • | wfcHVL_NONE—Specifies no line. |
| • | wfcHVL_SOLID—Specifies a solid line. |
| • | wfcHVL_SYMMETRY—Specifies a symmetrical line. |
| • | wfcHVL_SYMMETRY_ISO—Specifies an ISO-standard symmetrical line. |
| • | wfcHVL_SYMMETRY_ASME—Specifies an ASME-standard symmetrical line. |
| • | Draft Entities—Contain graphical items created in Creo. 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 drawing file. |
| • | pfcITEM_DTL_ENTITY—Detail Entity |
| • | pfcITEM_DTL_NOTE—Detail Note |
| • | pfcITEM_DTL_GROUP—Draft Group |
| • | pfcITEM_DTL_SYM_DEFINITION—Detail Symbol Definition |
| • | pfcITEM_DTL_SYM_INSTANCE—Detail Symbol Instance |
| • | pfcITEM_DTL_OLE_OBJECT—Drawing embedded OLE object |
| • | Item—Specifies the note attached to the symbol instance as a pfcDetailNoteItem object. |
| • | DispMode—Specifies the display mode for parameters and dimensions in the note using the enumerated data type pfcDimDisplayMode. The valid values are:
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |

| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | pfcSYMDEF_FIXED—Symbol height is fixed. |
| • | pfcSYMDEF_VARIABLE—Symbol height is variable. |
| • | pfcSYMDEF_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. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | pfcSYMDEFATTACH_FREE—Attachment on a free point. |
| • | pfcSYMDEFATTACH_LEFT_LEADER—Attachment via a leader on the left side of the symbol. |
| • | pfcSYMDEFATTACH_RIGHT_LEADER— Attachment via a leader on the right side of the symbol. |
| • | pfcSYMDEFATTACH_RADIAL_LEADER—Attachment via a leader at a radial location. |
| • | pfcSYMDEFATTACH_ON_ITEM—Attachment on an item in the symbol definition. |
| • | pfcSYMDEFATTACH_NORMAL_TO_ITEM—Attachment normal to an item in the symbol definition. |
| • | pfcDETAIL_SYMBOL_GROUP_INTERACTIVE—Symbol groups are interactively selected for display. This is the default value in the GRAPHICS mode. |
| • | pfcDETAIL_SYMBOL_GROUP_ALL—All non-exclusive symbol groups are included for display. |
| • | pfcDETAIL_SYMBOL_GROUP_NONE—None of the non-exclusive symbol groups are included for display. |
| • | pfcDETAIL_SYMBOL_GROUP_CUSTOM—Symbol groups specified by the application are displayed. |
| • | pfcDTLSYMINST_ALL_GROUPS—Retrieves all groups in the definition of the symbol instance. |
| • | pfcDTLSYMINST_ACTIVE_GROUPS—Retrieves only those groups that are actively shown in the symbol instance. |
| • | pfcDTLSYMINST_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. |
| • | pfcATTACH_FREE—The attachment is at a free point possibly with respect to a given drawing view. |
| • | pfcATTACH_PARAMETRIC—The attachment is to a point on a surface or an edge of a solid. |
| • | pfcATTACH_OFFSET—The attachment is offset to another drawing view, to a model item, or to a 3D model annotation. |
| • | pfcATTACH_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. |