NX Open C++ Reference Guide
|
Represents a PreviewPropertiesBuilder to be used for creating and storing previews. More...
Represents a PreviewPropertiesBuilder to be used for creating and storing previews.
Both part previews and model view previews are supported.
To create a new instance of this class, use PropertiesManager::CreatePreviewPropertiesBuilder
Default values.
Property | Value |
---|---|
ModelViewCreation |
OnPartSave |
PartCreation |
OnSave |
StoreModelViewPreview |
0 |
StorePartPreview |
0 |
Created in NX8.0.0.
Specifies when the model view preview will be created.
Specifies when the part preview will be created.
PartCreationOptionsOnSave |
Part preview will be created when the part is saved. |
PartCreationOptionsOnDemand |
Interactive only option that allows the part preview to be created by selecting the Create Now button. |
NXOpen::PreviewPropertiesBuilder::ModelViewCreationOptions NXOpen::PreviewPropertiesBuilder::ModelViewCreation | ( | ) |
Returns the model view creation.
This option determines when the model view preview will be stored. It is only used if the store model view preview is turned on.
Created in NX8.0.0.
License requirements : None
NXOpen::PreviewPropertiesBuilder::PartCreationOptions NXOpen::PreviewPropertiesBuilder::PartCreation | ( | ) |
Returns the part creation.
This option determines when the part preview will be stored. It is only used if the store part preview is turned on.
Created in NX8.0.0.
License requirements : None
Returns the selected object(s) list.
Created in NX8.0.0.
License requirements : None
void NXOpen::PreviewPropertiesBuilder::SetModelViewCreation | ( | NXOpen::PreviewPropertiesBuilder::ModelViewCreationOptions | modelViewCreation | ) |
Sets the model view creation.
This option determines when the model view preview will be stored. It is only used if the store model view preview is turned on.
Created in NX8.0.0.
License requirements : None
modelViewCreation | modelviewcreation |
void NXOpen::PreviewPropertiesBuilder::SetPartCreation | ( | NXOpen::PreviewPropertiesBuilder::PartCreationOptions | partCreation | ) |
Sets the part creation.
This option determines when the part preview will be stored. It is only used if the store part preview is turned on.
Created in NX8.0.0.
License requirements : None
partCreation | partcreation |
void NXOpen::PreviewPropertiesBuilder::SetStoreModelViewPreview | ( | bool | storeModelViewPreview | ) |
Sets the store model view preview.
Determines if the model view preview will be stored. If true, the model view creation option will decide when the preview will be stored.
Created in NX8.0.0.
License requirements : None
storeModelViewPreview | storemodelviewpreview |
void NXOpen::PreviewPropertiesBuilder::SetStorePartPreview | ( | bool | storePartPreview | ) |
Sets the store part preview.
Determines if the part preview will be stored. If true, the part creation option will decide when the preview will be stored.
Created in NX8.0.0.
License requirements : None
storePartPreview | storepartpreview |
Returns the store model view preview.
Determines if the model view preview will be stored. If true, the model view creation option will decide when the preview will be stored.
Created in NX8.0.0.
License requirements : None
Returns the store part preview.
Determines if the part preview will be stored. If true, the part creation option will decide when the preview will be stored.
Created in NX8.0.0.
License requirements : None