| Library | Module | Frames | Expand |
| Property | TextHeight | as Double |
| The text height of the model. The model must be in the current window inorderto access this property. | ||
| Sub | AddModel (NewModel as IpfcModel) | |
| Adds a solid model to the drawing. | ||
| Sub | AddSimplifiedRep (SimplifiedRep as IpfcSimpRep) | |
| Adds a new simplified representation of a model to a drawing. | ||
| Function | CollectShownDimensions (SolidMdl as IpfcSolid) as IpfcDimensions [optional] | |
| Function | CollectShownRefDimensions (SolidMdl as IpfcSolid) as IpfcDimensions [optional] | |
| Function | CreateDimension (Attachments as IpfcDimensionAttachments, Senses as IpfcDimSenses, hint as IpfcDimOrientationHint, Location as IpfcPoint2D) as IpfcDimension | |
| Function | CreateDrawingDimension (Instructions as IpfcDrawingDimCreateInstructions) as IpfcDimension2D | |
| DEPRECATED: since Creo 4 | ||
| SUCCESSOR(S): Model2D.CreateRefDimension, Model2D.CreateDimension | Creates a new drawing dimension. | |
| Function | CreateRefDimension (Attachments as IpfcDimensionAttachments, Senses as IpfcDimSenses, hint as IpfcDimOrientationHint, Location as IpfcPoint2D) as IpfcDimension | |
| Function | CreateView (Instructions as IpfcView2DCreateInstructions) as IpfcView2D | |
| Creates a new view in the drawing. | ||
| Sub | DeleteModel (Model as IpfcModel) | |
| Removes a model from the drawing. | ||
| Sub | DeleteSimplifiedRep (SimplifiedRep as IpfcSimpRep) | |
| Deletes a simplified representation of a model from a drawing. | ||
| Function | GetCurrentSolid () as IpfcModel [optional] | |
| Gets the current solid model of the drawing | ||
| Function | GetViewByName (ViewName as String) as IpfcView2D [optional] | |
| Returns a drawing view, given its name. | ||
| Function | GetViewDisplaying (Dim as IpfcBaseDimension) as IpfcView2D [optional] | |
| Returns the drawing view that displays a dimension. | ||
| Function | List2DViews () as IpfcView2Ds | |
| Lists the drawing views. | ||
| Function | ListModels () as IpfcModels [optional] | |
| Lists the models used in the drawing. | ||
| Function | ListShownDimensions (Model as IpfcModel, Type as IpfcModelItemType [optional]) as IpfcDimension2Ds | |
| DEPRECATED: since Creo 4 | ||
| SUCCESSOR(S): Model2D.CollectShownRefDimensions, Model2D.CollectShownDimensions | Lists the solid-model owned dimensions and reference dimensions shown in the drawing. | |
| Function | ListSimplifiedReps (Solid as IpfcModel) as IpfcSimpReps [optional] | |
| Returns a list of the simplified representations referenced by the drawing. | ||
| Sub | Regenerate () | |
| Regenerates the drawing draft entities. | ||
| Sub | ReplaceModel (FromModel as IpfcModel, ToModel as IpfcModel, Unrepresent as Boolean) | |
| Replaces a drawing model solid with another solid. The old and new solids must be members of the same family table. | ||
| Sub | SetCurrentSolid (NewCurrentSolid as IpfcModel) | |
| Sets the current solid model for the drawing. | ||
| Sub | SetViewDisplaying (Dim as IpfcBaseDimension, NewView as IpfcView2D) | |
| Sets the view that shows the model dimension. | ||
| Property | TextHeight | as Double |
|
The text height of the model. The model must be in the current window inorderto access this property. |
| Sub | AddModel | (NewModel as IpfcModel) |
|
Adds a solid model to the drawing. Exceptions thrown (but not limited to): IpfcXToolkitInUse - The function did nothing because the specified model already exists.
|
| Sub | AddSimplifiedRep | (SimplifiedRep as IpfcSimpRep) |
|
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): IpfcXToolkitFound - The function did nothing because the specified simplified representation already exists.
|
| Function | CollectShownDimensions | (SolidMdl as IpfcSolid) as IpfcDimensions [optional] |
|
Exceptions thrown (but not limited to): IpfcXToolkitNoLicense - License check failure. IpfcXToolkitNotFound - No model dimensions were visited.
|
| Function | CollectShownRefDimensions | (SolidMdl as IpfcSolid) as IpfcDimensions [optional] |
|
Exceptions thrown (but not limited to): IpfcXToolkitNoLicense - License check failure. IpfcXToolkitNotFound - No model dimensions were visited.
|
| Function | CreateDimension | (Attachments as IpfcDimensionAttachments, Senses as IpfcDimSenses, hint as IpfcDimOrientationHint, Location as IpfcPoint2D) as IpfcDimension |
|
Exceptions thrown (but not limited to): IpfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| Function | CreateDrawingDimension | (Instructions as IpfcDrawingDimCreateInstructions) as IpfcDimension2D |
| DEPRECATED: since Creo 4 |
| SUCCESSOR(S): Model2D.CreateRefDimension, Model2D.CreateDimension |
Creates a new drawing dimension. Exceptions thrown (but not limited to): IpfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| Function | CreateRefDimension | (Attachments as IpfcDimensionAttachments, Senses as IpfcDimSenses, hint as IpfcDimOrientationHint, Location as IpfcPoint2D) as IpfcDimension |
|
Exceptions thrown (but not limited to): IpfcXToolkitBadDimAttach - a dimension could not be created with the attachments and sense specified.
|
| Function | CreateView | (Instructions as IpfcView2DCreateInstructions) as IpfcView2D |
|
Creates a new view in the drawing. Before calling this method, display the drawing using the IpfcModel.Display() method. Exceptions thrown (but not limited to): IpfcXToolkitCreateViewBadSheet - The specified sheet does not exist. IpfcXToolkitCreateViewBadModel - The specified model is not in the list of drawing models, or the function cannot make the specified view of this model. IpfcXToolkitCreateViewBadExplode - The function cannot explode the view model. IpfcXToolkitCreateViewBadParent - The parent view for project does not exist, or is of unsupported type, or does not align with the selected position.
|
| Sub | DeleteModel | (Model as IpfcModel) |
|
Removes a model from the drawing. The model cannot appear in any drawing views. Exceptions thrown (but not limited to): IpfcXToolkitBadContext - The function did nothing because the model is NULL. IpfcXToolkitNotFound - The function failed because the specified model is not in the drawing. IpfcXToolkitInUse - The function failed because the specified model is referenced by a view.
|
| Sub | DeleteSimplifiedRep | (SimplifiedRep as IpfcSimpRep) |
|
Deletes a simplified representation of a model from a drawing. Exceptions thrown (but not limited to): IpfcXToolkitBadContext - The function did nothing because the simplified representation is null. IpfcXToolkitNotFound - The function failed because the specified simplified representation is not in the drawing. IpfcXToolkitInUse - The function failed because the specified model and simplified representation are referenced by another view in the drawing.
|
| Function | GetCurrentSolid | () as IpfcModel [optional] |
|
Gets the current solid model of the drawing Exceptions thrown (but not limited to): IpfcXToolkitNotFound - No current model is assigned to the drawing.
|
| Function | GetViewByName | (ViewName as String) as IpfcView2D [optional] |
|
Returns a drawing view, given its name.
|
| Function | GetViewDisplaying | (Dim as IpfcBaseDimension) as IpfcView2D [optional] |
|
Returns the drawing view that displays a dimension. Works for solid and drawing dimensions. Exceptions thrown (but not limited to): IpfcXToolkitNotDisplayed - The dimension is not displayed in the drawing.
|
| Function | List2DViews | () as IpfcView2Ds |
|
Lists the drawing views. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - No views were found
|
| Function | ListModels | () as IpfcModels [optional] |
|
Lists the models used in the drawing. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - No drawing models were found
|
| Function | ListShownDimensions | (Model as IpfcModel, Type as IpfcModelItemType [optional]) as IpfcDimension2Ds |
| 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): IpfcXToolkitNotFound - No model dimensions were visited.
|
| Function | ListSimplifiedReps | (Solid as IpfcModel) as IpfcSimpReps [optional] |
|
Returns a list of the simplified representations referenced by the drawing.
|
| Sub | 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): IpfcXToolkitInvalidType - Model is not a notebook |
| Sub | ReplaceModel | (FromModel as IpfcModel, ToModel as IpfcModel, Unrepresent as Boolean) |
|
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): IpfcXToolkitNotFound - The 'from' model is not in the drawing. IpfcXToolkitFound - The 'to' model is already in the drawing. IpfcXToolkitBadContext - unrepresent_ok was FALSE, but the "from" solid had a simplified view. OR 'from' and 'to' solids were not from the same family table.
|
| Sub | SetCurrentSolid | (NewCurrentSolid as IpfcModel) |
|
Sets the current solid model for the drawing. Before calling this method, the solid model must be assigned to the drawing using IpfcModel2D.AddModel(). To see changes to parameters and fields reflecting the change of the current solid model, regenerate the drawing using IpfcSheetOwner.RegenerateSheet() Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The solid is not included in the drawing.
|
| Sub | SetViewDisplaying | (Dim as IpfcBaseDimension, NewView as IpfcView2D) |
|
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): IpfcXToolkitCantWrite - Could not delete the given item because it has read-only access.
|