Ply Objects
The term “Ply” denotes a single layer of material such as foam, paper, aluminum, or honeycomb structure in the Composite Design environment. A ply is defined using the object ProPly with the type as PRO_CMPST_PLY_DEF. You can use the ProPly object to set and get the color of the ply.
Ply View and Flat Ply View
You can create and view the scaled-up section of a model along a particular direction. You can also create multiple composite sections in a Composite Design. For this, you must have ply objects in your Composite Design environment.
Functions Introduced:
Use the function ProDrawingFlatPlyViewCreate() to create a flat ply view in a specified drawing. The drawing must be displayed. The input arguments are as follows:
drawing—The drawing on which you want to create a flat ply view and is defined using ProDrawing object.
composite—The composite solid defined using ProSolid.
sheet_number—Reserved for future use.
ply —Active ply defined using the ProPly feature type.
position —The position of the view on the screen and is defined using the ProPoint3d object.
scale —Scale defined as double value. If scale is >0, the view has an associated scale. If scale is <=0, the view has a default scale.
Use the function ProDrawingPlyViewCreate() to create a ply view in a specified drawing. The drawing must be displayed. The input arguments are as follows:
drawing—The drawing on which you want to create a flat ply view and is defined using ProDrawing object.
composite—The composite solid defined using ProSolid.
sheet_number—The number of the sheet on which to place the view.
ply —Active ply defined using the ProPly feature type.
position —The position of the view on the screen and is defined using the ProPoint3d object.
scale —Scale defined as double value. If scale is >0, the view has an associated scale. If scale is <=0, the view has a default scale.
The output of both the functions ProDrawingFlatPlyViewCreate() and ProDrawingPlyViewCreate() is the view specified by the ProView handle.
Isto foi útil?