NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Motion.AddSubmechanismBuilder Class Reference

Represents a builder class that performs add submechanism in current context. More...

Inheritance diagram for NXOpen.Motion.AddSubmechanismBuilder:
NXOpen.Builder NXOpen.IAttributeSourceObjectBuilder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  Layer { Original, Work, Specified }
 Represents initial location type that can be present during add component More...
 
enum  PositioningMethod { AbsoluteOrigin, OriginToOrigin }
 Represents the positioning method More...
 

Public Member Functions

unsafe NXOpen.ErrorList AutoAssignAttributes (NXOpen.NXObject[] objects)
 Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign. More...
 
unsafe NXOpen.ErrorList AutoAssignAttributesWithNamingPattern (NXOpen.NXObject[] objects, NXOpen.NXObject[] properties)
 Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign. More...
 
unsafe NXOpen.NXObject CreateAttributeTitleToNamingPatternMap (string[] attributeTitles, string[] titlePatterns)
 Creates a map object of attribute titles to their corresponding naming pattern More...
 
- 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...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe
NXOpen.Motion.AddSubmechanismBuilder.Layer 
LayerOption [get, set]
 Returns or sets the layers to which geometry are added More...
 
unsafe
NXOpen.Motion.AddSubmechanismBuilder.PositioningMethod 
Positioning [get, set]
 Returns or sets the positioning method. More...
 
unsafe NXOpen.NXObject RemappedGeometry [get, set]
 Returns or sets the remapped geometry. More...
 
unsafe bool RemappingOn [get, set]
 Returns or sets the option of using geometry remapping More...
 
unsafe NXOpen.NXObject SelectedPart [get, set]
 Returns or sets the Motion Simulation part to add as sumbechanism More...
 
unsafe int UserLayer [get, set]
 Returns or sets the user defined layer (should be a value in the range 1-256) More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a builder class that performs add submechanism in current context.

To create a new instance of this class, use NXOpen.Motion.MotionSimulation.CreateAddSubmechanismBuilder

Default values.

Property Value

LayerOption

Original

Positioning

AbsoluteOrigin

UserLayer

1

Created in NX12.0.0

Member Enumeration Documentation

Represents initial location type that can be present during add component

Enumerator
Original 

the original layer

Work 

the work laye

Specified 

custom specified layer

Represents the positioning method

Enumerator
AbsoluteOrigin 

absolute origin of the current part

OriginToOrigin 

only useful when NXOpen.Motion.AddSubmechanismBuilder.RemappingOn is active

Member Function Documentation

unsafe NXOpen.ErrorList NXOpen.Motion.AddSubmechanismBuilder.AutoAssignAttributes ( NXOpen.NXObject[]  objects)
inline

Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign.

Created in NX8.5.0

License requirements: None.

Parameters
objects
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

unsafe NXOpen.ErrorList NXOpen.Motion.AddSubmechanismBuilder.AutoAssignAttributesWithNamingPattern ( NXOpen.NXObject[]  objects,
NXOpen.NXObject[]  properties 
)
inline

Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign.

properties needs to be created using CreateAttributeTitleToNamingPatternMap

Created in NX12.0.0

License requirements: None.

Parameters
objects
properties
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

unsafe NXOpen.NXObject NXOpen.Motion.AddSubmechanismBuilder.CreateAttributeTitleToNamingPatternMap ( string[]  attributeTitles,
string[]  titlePatterns 
)
inline

Creates a map object of attribute titles to their corresponding naming pattern

Created in NX12.0.0

License requirements: None.

Parameters
attributeTitles
titlePatterns
Returns

Implements NXOpen.IAttributeSourceObjectBuilder.

Property Documentation

unsafe NXOpen.Motion.AddSubmechanismBuilder.Layer NXOpen.Motion.AddSubmechanismBuilder.LayerOption
getset

Returns or sets the layers to which geometry are added

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")

unsafe NXOpen.Motion.AddSubmechanismBuilder.PositioningMethod NXOpen.Motion.AddSubmechanismBuilder.Positioning
getset

Returns or sets the positioning method.

Created in NX1847.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")

unsafe NXOpen.NXObject NXOpen.Motion.AddSubmechanismBuilder.RemappedGeometry
getset

Returns or sets the remapped geometry.

User should set a valid geometry if remaping is on, otherwise this is not used.

Created in NX1847.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")

unsafe bool NXOpen.Motion.AddSubmechanismBuilder.RemappingOn
getset

Returns or sets the option of using geometry remapping

Created in NX1847.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")

unsafe NXOpen.NXObject NXOpen.Motion.AddSubmechanismBuilder.SelectedPart
getset

Returns or sets the Motion Simulation part to add as sumbechanism

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")

unsafe int NXOpen.Motion.AddSubmechanismBuilder.UserLayer
getset

Returns or sets the user defined layer (should be a value in the range 1-256)

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: mechanisms ("MECHANISMS")


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