| Library | Module | Frames | Expand |
| number | TextHeight | |
| The text height of the model. The model must be in the current window inorderto access this property. | ||
| void | AddModel (pfcModel NewModel) | |
| Adds a solid model to the drawing. | ||
| void | AddSimplifiedRep (pfcSimpRep SimplifiedRep) | |
| Adds a new simplified representation of a model to a drawing. | ||
| /* optional */ pfcDimensions | CollectShownDimensions (pfcSolid SolidMdl) | |
| /* optional */ pfcDimensions | CollectShownRefDimensions (pfcSolid SolidMdl) | |
| pfcDimension | CreateDimension (pfcDimensionAttachments Attachments, pfcDimSenses Senses, pfcDimOrientationHint hint, pfcPoint2D Location) | |
| pfcDimension2D | CreateDrawingDimension (pfcDrawingDimCreateInstructions Instructions) | |
| DEPRECATED: since Creo 4 | ||
| SUCCESSOR(S): Model2D.CreateRefDimension, Model2D.CreateDimension | Creates a new drawing dimension. | |
| pfcDimension | CreateRefDimension (pfcDimensionAttachments Attachments, pfcDimSenses Senses, pfcDimOrientationHint hint, pfcPoint2D Location) | |
| pfcView2D | CreateView (pfcView2DCreateInstructions Instructions) | |
| Creates a new view in the drawing. | ||
| void | DeleteModel (pfcModel Model) | |
| Removes a model from the drawing. | ||
| void | DeleteSimplifiedRep (pfcSimpRep SimplifiedRep) | |
| Deletes a simplified representation of a model from a drawing. | ||
| /* optional */ pfcModel | GetCurrentSolid () | |
| Gets the current solid model of the drawing | ||
| /* optional */ pfcView2D | GetViewByName (string ViewName) | |
| Returns a drawing view, given its name. | ||
| /* optional */ pfcView2D | GetViewDisplaying (pfcBaseDimension Dim) | |
| Returns the drawing view that displays a dimension. | ||
| pfcView2Ds | List2DViews () | |
| Lists the drawing views. | ||
| /* optional */ pfcModels | ListModels () | |
| Lists the models used in the drawing. | ||
| pfcDimension2Ds | ListShownDimensions (pfcModel Model, /* optional */ pfcModelItemType Type) | |
| DEPRECATED: since Creo 4 | ||
| SUCCESSOR(S): Model2D.CollectShownRefDimensions, Model2D.CollectShownDimensions | Lists the solid-model owned dimensions and reference dimensions shown in the drawing. | |
| /* optional */ pfcSimpReps | ListSimplifiedReps (pfcModel Solid) | |
| Returns a list of the simplified representations referenced by the drawing. | ||
| void | Regenerate () | |
| Regenerates the drawing draft entities. | ||
| void | ReplaceModel (pfcModel FromModel, pfcModel ToModel, boolean Unrepresent) | |
| Replaces a drawing model solid with another solid. The old and new solids must be members of the same family table. | ||
| void | SetCurrentSolid (pfcModel NewCurrentSolid) | |
| Sets the current solid model for the drawing. | ||
| void | SetViewDisplaying (pfcBaseDimension Dim, pfcView2D NewView) | |
| Sets the view that shows the model dimension. | ||
| number | TextHeight |
|
The text height of the model. The model must be in the current window inorderto access this property. |
| void | AddModel | (pfcModel NewModel) |
|
Adds a solid model to the drawing. Exceptions thrown (but not limited to): pfcXToolkitInUse - The function did nothing because the specified model already exists.
|
| void | AddSimplifiedRep | (pfcSimpRep SimplifiedRep) |
|
Adds a new simplified representation of a model to a drawing. Allows the creation of views displaying the simplified rep. Exceptions thrown (but not limited to): pfcXToolkitFound - The function did nothing because the specified simplified representation already exists.
|
| /* optional */ pfcDimensions | CollectShownDimensions | (pfcSolid SolidMdl) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoLicense - License check failure. pfcXToolkitNotFound - No model dimensions were visited.
|
| /* optional */ pfcDimensions | CollectShownRefDimensions | (pfcSolid SolidMdl) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoLicense - License check failure. pfcXToolkitNotFound - No model dimensions were visited.
|
| pfcDimension | CreateDimension | (pfcDimensionAttachments Attachments, pfcDimSenses Senses, pfcDimOrientationHint hint, pfcPoint2D Location) |
|
Exceptions thrown (but not limited to): pfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| pfcDimension2D | CreateDrawingDimension | (pfcDrawingDimCreateInstructions Instructions) |
| DEPRECATED: since Creo 4 | |
| SUCCESSOR(S): Model2D.CreateRefDimension, Model2D.CreateDimension |
Creates a new drawing dimension. Exceptions thrown (but not limited to): pfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| pfcDimension | CreateRefDimension | (pfcDimensionAttachments Attachments, pfcDimSenses Senses, pfcDimOrientationHint hint, pfcPoint2D Location) |
|
Exceptions thrown (but not limited to): pfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| pfcView2D | CreateView | (pfcView2DCreateInstructions Instructions) |
|
Creates a new view in the drawing. Before calling this method, display the drawing using the pfcModel.Display() method. Exceptions thrown (but not limited to): pfcXToolkitCreateViewBadSheet - The specified sheet does not exist. pfcXToolkitCreateViewBadModel - The specified model is not in the list of drawing models, or the function cannot make the specified view of this model. pfcXToolkitCreateViewBadExplode - The function cannot explode the view model. pfcXToolkitCreateViewBadParent - The parent view for project does not exist, or is of unsupported type, or does not align with the selected position.
|
| void | DeleteModel | (pfcModel Model) |
|
Removes a model from the drawing. The model cannot appear in any drawing views. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The function did nothing because the model is NULL. pfcXToolkitNotFound - The function failed because the specified model is not in the drawing. pfcXToolkitInUse - The function failed because the specified model is referenced by a view.
|
| void | DeleteSimplifiedRep | (pfcSimpRep SimplifiedRep) |
|
Deletes a simplified representation of a model from a drawing. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The function did nothing because the simplified representation is null. pfcXToolkitNotFound - The function failed because the specified simplified representation is not in the drawing. pfcXToolkitInUse - The function failed because the specified model and simplified representation are referenced by another view in the drawing.
|
| /* optional */ pfcModel | GetCurrentSolid | () |
|
Gets the current solid model of the drawing Exceptions thrown (but not limited to): pfcXToolkitNotFound - No current model is assigned to the drawing.
|
| /* optional */ pfcView2D | GetViewByName | (string ViewName) |
|
Returns a drawing view, given its name.
|
| /* optional */ pfcView2D | GetViewDisplaying | (pfcBaseDimension Dim) |
|
Returns the drawing view that displays a dimension. Works for solid and drawing dimensions. Exceptions thrown (but not limited to): pfcXToolkitNotDisplayed - The dimension is not displayed in the drawing.
|
| pfcView2Ds | List2DViews | () |
|
Lists the drawing views. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No views were found
|
| /* optional */ pfcModels | ListModels | () |
|
Lists the models used in the drawing. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No drawing models were found
|
| pfcDimension2Ds | ListShownDimensions | (pfcModel Model, /* optional */ pfcModelItemType Type) |
| DEPRECATED: since Creo 4 | |
| SUCCESSOR(S): Model2D.CollectShownRefDimensions, Model2D.CollectShownDimensions |
Lists the solid-model owned dimensions and reference dimensions shown in the drawing. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No model dimensions were visited.
|
| /* optional */ pfcSimpReps | ListSimplifiedReps | (pfcModel Solid) |
|
Returns a list of the simplified representations referenced by the drawing.
|
| void | Regenerate | () |
|
Regenerates the drawing draft entities. If the model is a layout, this regenerates the layout and its relations. Exceptions thrown (but not limited to): pfcXToolkitInvalidType - Model is not a notebook |
| void | ReplaceModel | (pfcModel FromModel, pfcModel ToModel, boolean Unrepresent) |
|
Replaces a drawing model solid with another solid. The old and new solids must be members of the same family table. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The 'from' model is not in the drawing. pfcXToolkitFound - The 'to' model is already in the drawing. pfcXToolkitBadContext - unrepresent_ok was FALSE, but the "from" solid had a simplified view. OR 'from' and 'to' solids were not from the same family table.
|
| void | SetCurrentSolid | (pfcModel NewCurrentSolid) |
|
Sets the current solid model for the drawing. Before calling this method, the solid model must be assigned to the drawing using pfcModel2D.AddModel(). To see changes to parameters and fields reflecting the change of the current solid model, regenerate the drawing using pfcSheetOwner.RegenerateSheet() Exceptions thrown (but not limited to): pfcXToolkitNotFound - The solid is not included in the drawing.
|
| void | SetViewDisplaying | (pfcBaseDimension Dim, pfcView2D NewView) |
|
Sets the view that shows the model dimension. Before calling this method, dimension should be displayed in the drawing. Exceptions thrown (but not limited to): pfcXToolkitCantWrite - Could not delete the given item because it has read-only access.
|