User's Guide > Drawings > Creating Drawing Views > General Drawing Views
General Drawing Views
The class pfcGeneralViewCreateInstructions contains details on how to create general drawing views.
Methods and Properties Introduced:
The method pfcGeneralViewCreateInstructions.Create() creates the pfcGeneralViewCreateInstructions data object used for creating general drawing views.
Use the property pfcGeneralViewCreateInstructions.ViewModel to assign the solid model to display in the created general drawing view.
Use the property pfcGeneralViewCreateInstructions.Location to assign the location in a drawing sheet to place the created general drawing view.
Use the property pfcGeneralViewCreateInstructions.SheetNumber to set the number of the drawing sheet in which the general drawing view is created.
The property pfcGeneralViewCreateInstructions.Orientation assigns the orientation of the model in the general drawing view in the form of the pfcTransform3D data object. The transformation matrix must only consist of the rotation to be applied to the model. It must not consist of any displacement or scale components. If necessary, set the displacement to {0, 0, 0} using the property pfcTransform3D.SetOrigin, and remove any scaling factor by normalizing the matrix.
Use the property pfcGeneralViewCreateInstructions.Exploded to set the created general drawing view to be an exploded view.
Use the property pfcGeneralViewCreateInstructions.Scale to assign a scale to the created general drawing view. This value is optional, if not assigned, the default drawing scale is used.
Use the property pfcGeneralViewCreateInstructions.ViewScale to assign a scale to the created general drawing view. This value is optional, if not assigned, the default drawing scale is used.
Was this helpful?