NXOpen .NET Reference Guide
1899
|
Represents a collection of NXOpen.Layout2d.ComponentDefinition objects. More...
Public Member Functions | |
unsafe void | Delete (NXOpen.Layout2d.Layout2dDefinitionLocation location, string definitionPath) |
Deletes definition More... | |
unsafe NXOpen.Layout2d.ComponentDefinition | FindObject (string sid) |
Finds the NXOpen.Layout2d.ComponentDefinition with the given sid. More... | |
unsafe void | RefreshAllReferences () |
Refreshes all definition references in part to obtain the actual out-of-date status of components More... | |
unsafe void | Rename (NXOpen.Layout2d.Layout2dDefinitionLocation location, string definitionPath, string newName) |
Renames definition More... | |
unsafe void | SetAutomaticPreview (NXOpen.Layout2d.Layout2dDefinitionLocation location, string definitionPath, bool isAutomatic) |
Sets the automatic preview mode of definition with the given path More... | |
NXOpen.Layout2d.LocalDefinitionFolder[] | ToArray () |
Returns an array of NXOpen.Layout2d.LocalDefinitionFolder objects. More... | |
unsafe void | Update (NXOpen.Layout2d.Layout2dDefinitionLocation location, string definitionPath) |
Updates definition with the given path More... | |
unsafe void | UpdateImage (NXOpen.Layout2d.Layout2dDefinitionLocation location, string definitionPath, string imagePath) |
Updates definition preview More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. 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... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Layout2d.ComponentDefinition objects.
To obtain an instance of this class, refer to NXOpen.Part
Created in NX10.0.0
|
inline |
Deletes definition
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
location | Location of the definition to delete |
definitionPath | Path of the definition to delete |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Finds the NXOpen.Layout2d.ComponentDefinition with the given sid.
An exception will be thrown if no object can be found with the given sid. This method can only be used to find Local definitions
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
sid | The sid of the definition to find |
|
inline |
Refreshes all definition references in part to obtain the actual out-of-date status of components
Created in NX12.0.0
License requirements: nx_layout ("NX Layout")
|
inline |
Renames definition
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
location | Location of the definition to rename |
definitionPath | Path of the definition to rename |
newName | New definition name |
|
inline |
Sets the automatic preview mode of definition with the given path
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
location | Location of the definition to set the preview mode |
definitionPath | Path of the definition to set the preview mode |
isAutomatic |
|
inline |
Returns an array of NXOpen.Layout2d.LocalDefinitionFolder objects.
|
inline |
Updates definition with the given path
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
location | Location of the definition to update |
definitionPath | Path of the definition to update |
|
inline |
Updates definition preview
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
location | Location of the definition to update image |
definitionPath | Path of the definition to update image |
imagePath | Path of the image file used to update definition preview |
|
get |
Returns the tag of this object.