| Library | File | Frames | Expand |
| void | AddModel (pfcModel_ptr NewModel) | |
| Adds a solid model to the drawing. | ||
| void | AddSimplifiedRep (pfcSimpRep_ptr SimplifiedRep) | |
| Adds a new simplified representation of a model to a drawing. | ||
| optional pfcDimensions_ptr | CollectShownDimensions (pfcSolid_ptr SolidMdl) | |
| optional pfcDimensions_ptr | CollectShownRefDimensions (pfcSolid_ptr SolidMdl) | |
| pfcDimension_ptr | CreateDimension (pfcDimensionAttachments_ptr Attachments, pfcDimSenses_ptr Senses, pfcDimOrientationHint hint, pfcPoint2D_ptr Location) | |
| pfcDimension2D_ptr | CreateDrawingDimension (pfcDrawingDimCreateInstructions_ptr Instructions) | |
| DEPRECATED:
since Creo 4
SUCCESSOR(S): pfcModel2D::CreateRefDimension, pfcModel2D::CreateDimension Creates a new drawing dimension. |
||
| pfcDimension_ptr | CreateRefDimension (pfcDimensionAttachments_ptr Attachments, pfcDimSenses_ptr Senses, pfcDimOrientationHint hint, pfcPoint2D_ptr Location) | |
| pfcView2D_ptr | CreateView (pfcView2DCreateInstructions_ptr Instructions) | |
| Creates a new view in the drawing. | ||
| void | DeleteModel (pfcModel_ptr Model) | |
| Removes a model from the drawing. | ||
| void | DeleteSimplifiedRep (pfcSimpRep_ptr SimplifiedRep) | |
| Deletes a simplified representation of a model from a drawing. | ||
| optional pfcModel_ptr | GetCurrentSolid () | |
| Gets the current solid model of the drawing | ||
| xreal | GetTextHeight () | |
| void | SetTextHeight (xreal value) | |
| The text height of the model. The model must be in the current window inorderto access this property. | ||
| optional pfcView2D_ptr | GetViewByName (xrstring ViewName) | |
| Returns a drawing view, given its name. | ||
| optional pfcView2D_ptr | GetViewDisplaying (pfcBaseDimension_ptr Dim) | |
| Returns the drawing view that displays a dimension. | ||
| pfcView2Ds_ptr | List2DViews () | |
| Lists the drawing views. | ||
| optional pfcModels_ptr | ListModels () | |
| Lists the models used in the drawing. | ||
| pfcDimension2Ds_ptr | ListShownDimensions (pfcModel_ptr Model, optional pfcModelItemType Type) | |
| DEPRECATED:
since Creo 4
SUCCESSOR(S): pfcModel2D::CollectShownRefDimensions, pfcModel2D::CollectShownDimensions Lists the solid-model owned dimensions and reference dimensions shown in the drawing. |
||
| optional pfcSimpReps_ptr | ListSimplifiedReps (pfcModel_ptr Solid) | |
| Returns a list of the simplified representations referenced by the drawing. | ||
| void | Regenerate () | |
| Regenerates the drawing draft entities. | ||
| void | ReplaceModel (pfcModel_ptr FromModel, pfcModel_ptr ToModel, xbool 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_ptr NewCurrentSolid) | |
| Sets the current solid model for the drawing. | ||
| void | SetViewDisplaying (pfcBaseDimension_ptr Dim, pfcView2D_ptr NewView) | |
| Sets the view that shows the model dimension. | ||
| xreal | GetTextHeight | () |
| void | SetTextHeight | (xreal value) |
|
The text height of the model. The model must be in the current window inorderto access this property.
|
| pfcView2Ds_ptr | List2DViews | () |
|
Lists the drawing views. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No views were found
|
| optional pfcView2D_ptr | GetViewByName | (xrstring ViewName) |
|
Returns a drawing view, given its name.
|
| optional pfcView2D_ptr | GetViewDisplaying | (pfcBaseDimension_ptr 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.
|
| pfcView2D_ptr | CreateView | (pfcView2DCreateInstructions_ptr 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 | SetViewDisplaying | (pfcBaseDimension_ptr Dim, pfcView2D_ptr 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.
|
| optional pfcModel_ptr | GetCurrentSolid | () |
|
Gets the current solid model of the drawing Exceptions thrown (but not limited to): pfcXToolkitNotFound - No current model is assigned to the drawing.
|
| void | SetCurrentSolid | (pfcModel_ptr 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(pfcModel_ptr). To see changes to parameters and fields reflecting the change of the current solid model, regenerate the drawing using pfcSheetOwner::RegenerateSheet(xint) Exceptions thrown (but not limited to): pfcXToolkitNotFound - The solid is not included in the drawing.
|
| optional pfcModels_ptr | ListModels | () |
|
Lists the models used in the drawing. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No drawing models were found
|
| void | AddModel | (pfcModel_ptr 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 | DeleteModel | (pfcModel_ptr 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 | 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_ptr FromModel, pfcModel_ptr ToModel, xbool 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.
|
| pfcDimension2D_ptr | CreateDrawingDimension | (pfcDrawingDimCreateInstructions_ptr Instructions) |
| DEPRECATED:
since Creo 4
SUCCESSOR(S): pfcModel2D::CreateRefDimension, pfcModel2D::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.
|
| pfcDimension2Ds_ptr | ListShownDimensions | (pfcModel_ptr Model, optional pfcModelItemType Type) |
| DEPRECATED:
since Creo 4
SUCCESSOR(S): pfcModel2D::CollectShownRefDimensions, pfcModel2D::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.
|
| pfcDimension_ptr | CreateDimension | (pfcDimensionAttachments_ptr Attachments, pfcDimSenses_ptr Senses, pfcDimOrientationHint hint, pfcPoint2D_ptr Location) |
|
Exceptions thrown (but not limited to): pfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| pfcDimension_ptr | CreateRefDimension | (pfcDimensionAttachments_ptr Attachments, pfcDimSenses_ptr Senses, pfcDimOrientationHint hint, pfcPoint2D_ptr Location) |
|
Exceptions thrown (but not limited to): pfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| optional pfcDimensions_ptr | CollectShownDimensions | (pfcSolid_ptr SolidMdl) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoLicense - License check failure. pfcXToolkitNotFound - No model dimensions were visited.
|
| optional pfcDimensions_ptr | CollectShownRefDimensions | (pfcSolid_ptr SolidMdl) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoLicense - License check failure. pfcXToolkitNotFound - No model dimensions were visited.
|
| optional pfcSimpReps_ptr | ListSimplifiedReps | (pfcModel_ptr Solid) |
|
Returns a list of the simplified representations referenced by the drawing.
|
| void | AddSimplifiedRep | (pfcSimpRep_ptr 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.
|
| void | DeleteSimplifiedRep | (pfcSimpRep_ptr 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.
|