NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Drawings.DraftingComponentSelectionBuilder Class Reference

This builder allows the user to select a view in which component objects can be designated as primary or secondary geometry More...

Inheritance diagram for NXOpen.Drawings.DraftingComponentSelectionBuilder:
NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  Geometry { PrimaryGeometry, SecondaryGeometry }
 type of geometry More...
 

Public Member Functions

unsafe void ResetListToGlobal ()
 Reset list of components to those specified by Properties->Drawings->Secondary Geometry More...
 
unsafe void InitializeListFromObject (NXOpen.NXObject inputObject)
 Initialize list of components from the input object's components list. More...
 
unsafe void ClearSecondaryComponentList ()
 Clears the secondary component list. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 

Properties

unsafe
NXOpen.Drawings.DraftingComponentSelectionBuilder.Geometry 
ObjectType [get, set]
 Returns or sets the object type More...
 
unsafe NXOpen.SelectNXObjectList Objects [get]
 Returns the selected objects (part occurrences) based on current object type More...
 
unsafe NXOpen.Part Part [get, set]
 Returns or sets the part to use for populating the primary and secondary components object list More...
 
unsafe NXOpen.Part PartForKF [get]
 Returns the part to use for populating the primary and secondary components object list More...
 

Detailed Description

This builder allows the user to select a view in which component objects can be designated as primary or secondary geometry

Created in NX11.0.0

Member Enumeration Documentation

type of geometry

Enumerator
PrimaryGeometry 

indicates the component objects are to be rendered with Primary geometry color/font/width

SecondaryGeometry 

indicates the component objects are to be rendered with Secondary geometry color/font/width

Member Function Documentation

unsafe void NXOpen.Drawings.DraftingComponentSelectionBuilder.ClearSecondaryComponentList ( )

Clears the secondary component list.

Created in NX11.0.0

License requirements: None.

unsafe void NXOpen.Drawings.DraftingComponentSelectionBuilder.InitializeListFromObject ( NXOpen.NXObject  inputObject)

Initialize list of components from the input object's components list.

Created in NX11.0.0

License requirements: None.

Parameters
inputObject
unsafe void NXOpen.Drawings.DraftingComponentSelectionBuilder.ResetListToGlobal ( )

Reset list of components to those specified by Properties->Drawings->Secondary Geometry

Created in NX11.0.0

License requirements: None.

unsafe bool NXOpen.Drawings.DraftingComponentSelectionBuilder.Validate ( )

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Created in NX3.0.1

License requirements: None.

Returns
Was self validation successful

Implements NXOpen.GeometricUtilities.IComponentBuilder.

Property Documentation

unsafe NXOpen.SelectNXObjectList NXOpen.Drawings.DraftingComponentSelectionBuilder.Objects
get

Returns the selected objects (part occurrences) based on current object type

Created in NX11.0.0

License requirements: None.

unsafe NXOpen.Drawings.DraftingComponentSelectionBuilder.Geometry NXOpen.Drawings.DraftingComponentSelectionBuilder.ObjectType
getset

Returns or sets the object type

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Part NXOpen.Drawings.DraftingComponentSelectionBuilder.Part
getset

Returns or sets the part to use for populating the primary and secondary components object list

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Part NXOpen.Drawings.DraftingComponentSelectionBuilder.PartForKF
get

Returns the part to use for populating the primary and secondary components object list

Created in NX11.0.0

License requirements: None.


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