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

Represents a NXOpen.UserDefinedTemplate.InstantiationBuilder More...

Inheritance diagram for NXOpen.UserDefinedTemplate.InstantiationBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  JaUserdefinedtemplateLayerOption { Work, Original, Specify }
 Output layer options More...
 

Public Member Functions

unsafe NXOpen.Expression[] GetExpressions ()
 Returns the expressions in User Defined Template More...
 
unsafe NXOpen.Expression GetMatchedExpression (NXOpen.Expression originalExpression, out bool canBeEdited)
 Returns the matched expression of an original expression in User Defined Template More...
 
unsafe NXOpen.NXObject GetMatchedReference (NXOpen.NXObject originalReference, out bool isDirectionFlipped)
 Returns the matched reference of an original reference in User Defined Template More...
 
unsafe NXOpen.NXObject[] GetReferences ()
 Returns the references in User Defined Template More...
 
unsafe NXOpen.Part LoadAuthoringPart (string authoringPartName)
 Return the authoring part of User Defined Template object More...
 
unsafe void SetMatchedReference (NXOpen.NXObject originalReference, NXOpen.NXObject matchedReference, bool flipDirection)
 Set the matched reference of an original reference in User Defined Template 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 bool Explosion [get, set]
 Returns or sets the property of whether user is allowed to explode User Defined Template instantiation More...
 
unsafe int LayerNumber [get, set]
 Returns or sets the output layer number user specify for User Defined Template instantiation More...
 
unsafe
NXOpen.UserDefinedTemplate.InstantiationBuilder.JaUserdefinedtemplateLayerOption 
LayerOption [get, set]
 Returns or sets the property of output layer option of User Defined Template instantiation 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 NXOpen.UserDefinedTemplate.InstantiationBuilder

To create a new instance of this class, use NXOpen.UserDefinedTemplate.Collection.CreateInstantiationBuilder

Created in NX10.0.0

Member Enumeration Documentation

Output layer options

Enumerator
Work 

Outputs will follow the work parts layer convention

Original 

Outputs will be in the same layer as in authoring part

Specify 

Outputs will be in user specified layer

Member Function Documentation

unsafe NXOpen.Expression [] NXOpen.UserDefinedTemplate.InstantiationBuilder.GetExpressions ( )
inline

Returns the expressions in User Defined Template

Created in NX10.0.0

License requirements: None.

Returns
unsafe NXOpen.Expression NXOpen.UserDefinedTemplate.InstantiationBuilder.GetMatchedExpression ( NXOpen.Expression  originalExpression,
out bool  canBeEdited 
)
inline

Returns the matched expression of an original expression in User Defined Template

Created in NX10.0.0

License requirements: None.

Parameters
originalExpression
Returns
Parameters
canBeEdited
unsafe NXOpen.NXObject NXOpen.UserDefinedTemplate.InstantiationBuilder.GetMatchedReference ( NXOpen.NXObject  originalReference,
out bool  isDirectionFlipped 
)
inline

Returns the matched reference of an original reference in User Defined Template

Created in NX10.0.0

License requirements: None.

Parameters
originalReference
Returns
Parameters
isDirectionFlipped
unsafe NXOpen.NXObject [] NXOpen.UserDefinedTemplate.InstantiationBuilder.GetReferences ( )
inline

Returns the references in User Defined Template

Created in NX10.0.0

License requirements: None.

Returns
unsafe NXOpen.Part NXOpen.UserDefinedTemplate.InstantiationBuilder.LoadAuthoringPart ( string  authoringPartName)
inline

Return the authoring part of User Defined Template object

Created in NX10.0.0

License requirements: usr_defined_features ("USER DEFINED FEATURES")

Parameters
authoringPartNameName of the authoring part with full path
Returns
unsafe void NXOpen.UserDefinedTemplate.InstantiationBuilder.SetMatchedReference ( NXOpen.NXObject  originalReference,
NXOpen.NXObject  matchedReference,
bool  flipDirection 
)
inline

Set the matched reference of an original reference in User Defined Template

Created in NX10.0.0

License requirements: usr_defined_features ("USER DEFINED FEATURES")

Parameters
originalReference
matchedReference
flipDirection

Property Documentation

unsafe bool NXOpen.UserDefinedTemplate.InstantiationBuilder.Explosion
getset

Returns or sets the property of whether user is allowed to explode User Defined Template instantiation

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: usr_defined_features ("USER DEFINED FEATURES")

unsafe int NXOpen.UserDefinedTemplate.InstantiationBuilder.LayerNumber
getset

Returns or sets the output layer number user specify for User Defined Template instantiation

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: usr_defined_features ("USER DEFINED FEATURES")

unsafe NXOpen.UserDefinedTemplate.InstantiationBuilder.JaUserdefinedtemplateLayerOption NXOpen.UserDefinedTemplate.InstantiationBuilder.LayerOption
getset

Returns or sets the property of output layer option of User Defined Template instantiation

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: usr_defined_features ("USER DEFINED FEATURES")


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