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

Represents a builder class that performs copying design element operation in 4GD. More...

Inheritance diagram for NXOpen.Assemblies.CopyDesignElementBuilder:
NXOpen.Builder NXOpen.IAttributeSourceObjectBuilder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

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...
 
unsafe void CreateDesignElementLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects)
 Creates the pre-creation objects for the design elements to be copied More...
 
unsafe void DeleteCopiedComponents ()
 Removes the copied components created during the copy operation More...
 
unsafe void GetLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects)
 Returns the pre-creation objects More...
 
unsafe void GetLogicalObjectsHavingUnassignedRequiredAttributes (out NXOpen.PDM.LogicalObject[] logicalObjects)
 Returns the pre-creation objects which have unassign required attributes More...
 
unsafe NXOpen.ErrorList GetOperationFailures ()
 Returns the design element copy operation failures More...
 
unsafe void PartiallyCommit ()
 Copy design elements with minimal required information. 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.SelectDisplayableObjectList 
DesignElementsToCopy [get]
 Returns the design elements to copy More...
 

Additional Inherited Members

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

Detailed Description

Represents a builder class that performs copying design element operation in 4GD.

To create a new instance of this class, use NXOpen.CollaborativeContentManager.CreateCopyDesignElementBuilder

Created in NX12.0.0

Member Function Documentation

unsafe NXOpen.ErrorList NXOpen.Assemblies.CopyDesignElementBuilder.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.Assemblies.CopyDesignElementBuilder.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.Assemblies.CopyDesignElementBuilder.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.

unsafe void NXOpen.Assemblies.CopyDesignElementBuilder.CreateDesignElementLogicalObjects ( out NXOpen.PDM.LogicalObject[]  logicalObjects)
inline

Creates the pre-creation objects for the design elements to be copied

Created in NX12.0.0

License requirements: nx_4gd_integration ("4th Generation Design")

Parameters
logicalObjects
unsafe void NXOpen.Assemblies.CopyDesignElementBuilder.DeleteCopiedComponents ( )
inline

Removes the copied components created during the copy operation

Created in NX12.0.0

License requirements: nx_4gd_integration ("4th Generation Design")

unsafe void NXOpen.Assemblies.CopyDesignElementBuilder.GetLogicalObjects ( out NXOpen.PDM.LogicalObject[]  logicalObjects)
inline

Returns the pre-creation objects

Created in NX12.0.0

License requirements: None.

Parameters
logicalObjects
unsafe void NXOpen.Assemblies.CopyDesignElementBuilder.GetLogicalObjectsHavingUnassignedRequiredAttributes ( out NXOpen.PDM.LogicalObject[]  logicalObjects)
inline

Returns the pre-creation objects which have unassign required attributes

Created in NX12.0.0

License requirements: None.

Parameters
logicalObjects
unsafe NXOpen.ErrorList NXOpen.Assemblies.CopyDesignElementBuilder.GetOperationFailures ( )
inline

Returns the design element copy operation failures

Created in NX12.0.0

License requirements: None.

Returns
unsafe void NXOpen.Assemblies.CopyDesignElementBuilder.PartiallyCommit ( )
inline

Copy design elements with minimal required information.

Call to builder Commit is required after this to Commit creation.

Created in NX12.0.0

License requirements: nx_4gd_integration ("4th Generation Design")

Property Documentation

unsafe NXOpen.SelectDisplayableObjectList NXOpen.Assemblies.CopyDesignElementBuilder.DesignElementsToCopy
get

Returns the design elements to copy

Created in NX12.0.0

License requirements: None.


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