NXOpen .NET Reference  12.0.0
Public Types | Properties | List of all members
NXOpen.PreviewPropertiesBuilder Class Reference

Represents a NXOpen.PreviewPropertiesBuilder to be used for creating and storing previews. More...

Inheritance diagram for NXOpen.PreviewPropertiesBuilder:
NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  PartCreationOptions { OnSave, OnDemand }
 Specifies when the part preview will be created More...
 
enum  ModelViewCreationOptions { OnPartSave, OnViewSave, OnDemand }
 Specifies when the model view preview will be created More...
 

Properties

unsafe
NXOpen.PreviewPropertiesBuilder.ModelViewCreationOptions 
ModelViewCreation [get, set]
 Returns or sets the model view creation. More...
 
unsafe
NXOpen.PreviewPropertiesBuilder.PartCreationOptions 
PartCreation [get, set]
 Returns or sets the part creation. More...
 
unsafe NXOpen.SelectNXObjectList SelectedObjects [get]
 Returns the selected object(s) list. More...
 
unsafe bool StoreModelViewPreview [get, set]
 Returns or sets the store model view preview. More...
 
unsafe bool StorePartPreview [get, set]
 Returns or sets the store part preview. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 

Detailed Description

Represents a NXOpen.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 NXOpen.PropertiesManager.CreatePreviewPropertiesBuilder

Default values.

Property Value

ModelViewCreation

OnPartSave

PartCreation

OnSave

StoreModelViewPreview

0

StorePartPreview

0

Created in NX8.0.0

Member Enumeration Documentation

Specifies when the model view preview will be created

Enumerator
OnPartSave 

Model view preview will be created when the part is saved

OnViewSave 

Model view preview will be created when the view is saved

OnDemand 

Interactive only option that allows the model view preview to be created by selected the Create Now button

Specifies when the part preview will be created

Enumerator
OnSave 

Part preview will be created when the part is saved

OnDemand 

Interactive only option that allows the part preview to be created by selecting the Create Now button

Property Documentation

unsafe NXOpen.PreviewPropertiesBuilder.ModelViewCreationOptions NXOpen.PreviewPropertiesBuilder.ModelViewCreation
getset

Returns or 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 to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.PreviewPropertiesBuilder.PartCreationOptions NXOpen.PreviewPropertiesBuilder.PartCreation
getset

Returns or 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 to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.SelectNXObjectList NXOpen.PreviewPropertiesBuilder.SelectedObjects
get

Returns the selected object(s) list.

Created in NX8.0.0

License requirements: None.

unsafe bool NXOpen.PreviewPropertiesBuilder.StoreModelViewPreview
getset

Returns or 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 to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.PreviewPropertiesBuilder.StorePartPreview
getset

Returns or 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 to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.