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

Builder class for creating/deleting/editing of variant and variant selection objects. More...

Inheritance diagram for NXOpen.AME.ManageVariantBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe NXOpen.NXObject CreateVariant (NXOpen.NXObject parentVariantSelection)
 Method to create variant More...
 
unsafe NXOpen.NXObject CreateVariantSelection (NXOpen.NXObject parentVariant)
 Method to create variant selection More...
 
unsafe void DeleteVariantsAndVariantSelections (NXOpen.NXObject[] objectsToDelete)
 Method to delete variants and variant selections More...
 
unsafe NXOpen.NXObject[] DuplicateVariants (NXOpen.NXObject[] inputVariants)
 Method to duplicate input variants under a variant selection More...
 
unsafe void EditVariant ()
 Method to edit existing variant More...
 
unsafe NXOpen.Part GetVariantPart (NXOpen.NXObject variantObject)
 Method to get the variant's Part More...
 
unsafe NXOpen.NXObject GetVariantProject (NXOpen.NXObject variantObject)
 Method to get the variant's project More...
 
unsafe void SetDefaultVariant (NXOpen.NXObject variantObject)
 Method to set default variant for a variant selection More...
 
unsafe void SetVariantDescription (NXOpen.NXObject variantObject, string newDescription)
 Method to set description of the variant More...
 
unsafe void SetVariantName (NXOpen.NXObject variantObject, string newName)
 Method to set name of the variant More...
 
unsafe void SetVariantSelectionDescription (NXOpen.NXObject variantSelectionObject, string newDescription)
 Method to set description of the variant selection More...
 
unsafe void SetVariantSelectionName (NXOpen.NXObject variantSelectionObject, string newName)
 Method to set name of the variant selection 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...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 

Detailed Description

Builder class for creating/deleting/editing of variant and variant selection objects.

To create a new instance of this class, use NXOpen.AME.AMEManager.CreateManageVariantBuilder

Created in NX1899.0.0

Member Function Documentation

unsafe NXOpen.NXObject NXOpen.AME.ManageVariantBuilder.CreateVariant ( NXOpen.NXObject  parentVariantSelection)
inline

Method to create variant

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
parentVariantSelection
Returns
unsafe NXOpen.NXObject NXOpen.AME.ManageVariantBuilder.CreateVariantSelection ( NXOpen.NXObject  parentVariant)
inline

Method to create variant selection

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
parentVariant
Returns
unsafe void NXOpen.AME.ManageVariantBuilder.DeleteVariantsAndVariantSelections ( NXOpen.NXObject[]  objectsToDelete)
inline

Method to delete variants and variant selections

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
objectsToDelete
unsafe NXOpen.NXObject [] NXOpen.AME.ManageVariantBuilder.DuplicateVariants ( NXOpen.NXObject[]  inputVariants)
inline

Method to duplicate input variants under a variant selection

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
inputVariantsVariant objects to be duplicated
Returns
unsafe void NXOpen.AME.ManageVariantBuilder.EditVariant ( )
inline

Method to edit existing variant

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

unsafe NXOpen.Part NXOpen.AME.ManageVariantBuilder.GetVariantPart ( NXOpen.NXObject  variantObject)
inline

Method to get the variant's Part

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantObject
Returns
unsafe NXOpen.NXObject NXOpen.AME.ManageVariantBuilder.GetVariantProject ( NXOpen.NXObject  variantObject)
inline

Method to get the variant's project

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantObject
Returns
unsafe void NXOpen.AME.ManageVariantBuilder.SetDefaultVariant ( NXOpen.NXObject  variantObject)
inline

Method to set default variant for a variant selection

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantObject
unsafe void NXOpen.AME.ManageVariantBuilder.SetVariantDescription ( NXOpen.NXObject  variantObject,
string  newDescription 
)
inline

Method to set description of the variant

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantObject
newDescription
unsafe void NXOpen.AME.ManageVariantBuilder.SetVariantName ( NXOpen.NXObject  variantObject,
string  newName 
)
inline

Method to set name of the variant

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantObject
newName
unsafe void NXOpen.AME.ManageVariantBuilder.SetVariantSelectionDescription ( NXOpen.NXObject  variantSelectionObject,
string  newDescription 
)
inline

Method to set description of the variant selection

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantSelectionObject
newDescription
unsafe void NXOpen.AME.ManageVariantBuilder.SetVariantSelectionName ( NXOpen.NXObject  variantSelectionObject,
string  newName 
)
inline

Method to set name of the variant selection

Created in NX1899.0.0

License requirements: ad_automation_design ("FULL AUTOMATION DESIGNER")

Parameters
variantSelectionObject
newName

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