NXOpen .NET Reference Guide
|
Represents a part module More...
Public Types | |
enum | PartLoadOption { DontAllowSave = 1, LoadInterpart } |
Defines part load options More... | |
Public Types inherited from NXOpen.Features.Feature | |
enum | BooleanType { Create, Unite, Subtract, Intersect, EmbossNormalSide = 8, EmbossOppositeNormalSide } |
Boolean operation type. More... | |
enum | DiagnosticType { Information = 1, Warning } |
Diagnostic type More... | |
Public Types inherited from NXOpen.NXObject | |
enum | AttributeType { Invalid, Null, Boolean, Integer, Real, String, Time, Reference, Any = 100 } |
Specifies attribute type. More... | |
enum | DateAndTimeFormat { Numeric, Textual } |
Specifies the format of the date and time attribute. More... | |
Public Member Functions | |
unsafe void | Activate (bool active) |
Indicates whether the part module is to be activated. More... | |
unsafe void | BreakRelationship () |
Breaks part module relationship More... | |
unsafe NXOpen.Features.Feature | CreateLinkedPartModule (NXOpen.Part createdPart) |
Creates a linked part module More... | |
unsafe NXOpen.GeometricUtilities.PartModuleInputBuilder | CreatePartModuleInputBuilder () |
Creates part module input builder More... | |
unsafe NXOpen.GeometricUtilities.PartModuleOutputBuilder | CreatePartModuleOutputBuilder () |
Creates part module output builder More... | |
unsafe NXOpen.GeometricUtilities.PartModuleOutputBuilder1 | CreatePartModuleOutputBuilder1 () |
Creates new part module output builder More... | |
unsafe void | DisplayLinkedPart () |
Opens linked part module part More... | |
unsafe void | DisplayLinkedPartInNewWindow () |
Opens linked part module part in an additional window if possible, otherwise it will replace active displayed part in existing window. More... | |
unsafe void | DisplayMainPart () |
Opens owning part module part More... | |
unsafe void | DisplayMainPartInNewWindow () |
Opens owning part module part in an additional window if possible, otherwise it will replace active displayed part in existing window. More... | |
unsafe void | LoadInterpartData () |
Loads interpart data for linked part module More... | |
unsafe NXOpen.Part | LoadPartWithOption (int partLoadOption) |
Loads own part or inter part of part module based on the input More... | |
unsafe void | MakeLinkedWork () |
Opens linked part module part More... | |
unsafe void | MakeMainWork () |
Opens owning part module part More... | |
unsafe void | Merge () |
Merges part module and its linked part module into a single part module More... | |
unsafe void | ProcessDeletePartModule () |
Process the deletion of a Part Module More... | |
unsafe void | ShowOnly () |
Shows all displayable objects of part module and hides all other objects in the part More... | |
unsafe void | UpdateInputReferences () |
Updates inputs in the given linked part module More... | |
unsafe void | UpdateOutputReferences () |
Updates outputs in the given part module More... | |
Public Member Functions inherited from NXOpen.Features.Feature | |
unsafe bool | BreakWaveLink () |
Break Wave Link Feature More... | |
unsafe void | ChangeBooleanType () |
Change Boolean Type More... | |
unsafe void | DeleteClueAlerts () |
Delete all clue alerts from the features More... | |
unsafe void | DeleteHintAlerts () |
Delete all clue alerts from the features More... | |
unsafe void | DeleteInformationalAlerts () |
Delete all informational alerts from the features More... | |
unsafe void | DeleteWarningAlerts () |
Delete all warning alerts from the features More... | |
unsafe NXOpen.Features.Feature[] | GetAllChildren () |
Returns all immediate child features. More... | |
unsafe NXOpen.Features.Feature[] | GetChildren () |
Returns the immediate child features. More... | |
unsafe NXOpen.NXObject[] | GetEntities () |
Returns the entities created by the feature. More... | |
unsafe NXOpen.Expression[] | GetExpressions () |
Returns the expressions created by the feature. More... | |
unsafe string[] | GetFeatureClueHintMessages () |
Returns both clue and hint messages of the feature. More... | |
unsafe string[] | GetFeatureClueMessages () |
Returns the feature clue messages. More... | |
unsafe NXOpen.NXColor | GetFeatureColor () |
The feature color More... | |
unsafe string[] | GetFeatureErrorMessages () |
Returns the feature error messages. More... | |
unsafe string[] | GetFeatureHintMessages () |
Returns the feature hint messages. More... | |
unsafe string[] | GetFeatureInformationalMessages () |
Returns the feature informational messages. More... | |
unsafe string | GetFeatureName () |
Returns the displayed name of the feature. More... | |
unsafe string[] | GetFeatureWarningMessages () |
Returns the feature warning messages. More... | |
unsafe NXOpen.Features.Feature[] | GetParents () |
Returns the immediate parent features. More... | |
unsafe NXOpen.Section[] | GetSections () |
Queries a feature for list of its sections. More... | |
unsafe void | HideBody () |
Hide the body created by the feature More... | |
unsafe void | HideParents () |
Hide the body created by the parent feature More... | |
unsafe void | Highlight () |
Highlight the body created by the feature More... | |
unsafe void | LogDiagnostic (int errorCode, string message, NXOpen.Features.Feature.DiagnosticType diagnosticType) |
Log a diagnostic alert for this feature More... | |
unsafe void | MakeCurrentFeature () |
Make current feature More... | |
unsafe void | MakeSketchExternal () |
Make the parent sketch external for reuse by other features. More... | |
unsafe void | MakeSketchInternal () |
Make the parent sketch internal if referenced only by this feature. More... | |
unsafe void | RemoveForEdit (bool dependent) |
Remove all the feature faces before a NoHistory mode edit. More... | |
unsafe void | RemoveParameters () |
Remove Local feature parameters in history free mode. More... | |
unsafe void | SetGroupActive (bool active) |
Set a feature group as active group. More... | |
unsafe void | ShowBody (bool moveCurves) |
Show the body created by the feature. More... | |
unsafe void | ShowDimensions () |
Show all feature dimensions of a feature. More... | |
unsafe void | ShowParents (bool moveCurves) |
Show the body created by the parent feature. More... | |
unsafe void | Suppress () |
Suppress the feature More... | |
unsafe void | Unhighlight () |
Unhighlight the body created by the feature More... | |
unsafe void | Unsuppress () |
Unsuppress the feature More... | |
Public Member Functions inherited from NXOpen.NXObject | |
unsafe NXOpen.AttributeIterator | CreateAttributeIterator () |
Create an attribute iterator More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type) |
Deletes all attributes of a specific type. More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes all attributes of a specific type with the option to update or not. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title) |
Deletes an attribute by type and title. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title, NXOpen.Update.Option option) |
Deletes an attribute by type and title with the option to update or not. More... | |
unsafe void | DeleteUserAttribute (NXOpen.NXObject.AttributeType type, string title, bool deleteEntireArray, NXOpen.Update.Option option) |
Deletes the first attribute encountered with the given Type, Title. More... | |
unsafe void | DeleteUserAttributes (NXOpen.AttributeIterator iterator, NXOpen.Update.Option option) |
Deletes the attributes on the object, if any, that satisfy the given iterator More... | |
unsafe void | DeleteUserAttributes (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes the attributes encountered with the given Type with option to update or not. More... | |
unsafe NXOpen.INXObject | FindObject (string journalIdentifier) |
Finds the NXOpen.NXObject with the given identifier as recorded in a journal. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetAttributeTitlesByType (NXOpen.NXObject.AttributeType type) |
Gets all the attribute titles of a specific type. More... | |
unsafe bool | GetBooleanUserAttribute (string title, int index) |
Gets a boolean attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.ComputationalTime | GetComputationalTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe int | GetIntegerAttribute (string title) |
Gets an integer attribute by title. More... | |
unsafe int | GetIntegerUserAttribute (string title, int index) |
Gets an integer attribute by Title and array Index. More... | |
unsafe bool | GetNextUserAttribute (NXOpen.AttributeIterator iterator, out NXOpen.NXObject.AttributeInformation info) |
Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More... | |
unsafe string | GetPdmReferenceAttributeValue (string attributeTitle) |
Gets the value of PDM Reference attribute for given object. More... | |
unsafe double | GetRealAttribute (string title) |
Gets a real attribute by title. More... | |
unsafe double | GetRealUserAttribute (string title, int index) |
Gets a real attribute by Title and array Index. More... | |
unsafe string | GetReferenceAttribute (string title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More... | |
unsafe string | GetStringAttribute (string title) |
Gets a string attribute value by title. More... | |
unsafe string | GetStringUserAttribute (string title, int index) |
Gets a string attribute by Title and array Index. More... | |
unsafe string | GetTimeAttribute (NXOpen.NXObject.DateAndTimeFormat format, string title) |
Gets a time attribute by title. More... | |
unsafe string | GetTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.AttributeInformation | GetUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttribute (string title, bool includeUnset, bool addStringValues, NXOpen.NXObject.AttributeType type) |
Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More... | |
unsafe string | GetUserAttributeAsString (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator, bool countArrayAsOneAttribute) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type) |
Gets the count of set attributes on the object, if any, of the given type. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type, bool includeUnset, bool countArrayAsOneAttribute) |
Gets the count of attributes on the object, if any, of the given type. More... | |
unsafe bool | GetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type) |
Determine the lock of the given attribute. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (NXOpen.AttributeIterator iterator) |
Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes () |
Gets all the attributes that have been set on the given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset) |
Gets all the attributes of the given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset, bool addStringValues) |
Gets all the attributes of the given object. More... | |
unsafe string[] | GetUserAttributesAsStrings () |
Gets all the attributes that have been set on the given object. More... | |
unsafe int | GetUserAttributeSize (string title, NXOpen.NXObject.AttributeType type) |
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More... | |
unsafe NXOpen.NXObject[] | GetUserAttributeSourceObjects () |
Returns an array of objects from which this object presents attributes. More... | |
unsafe bool | HasUserAttribute (NXOpen.AttributeIterator iterator) |
Determines if an attribute exists on the object, that satisfies the given iterator More... | |
unsafe bool | HasUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More... | |
unsafe void | Print () |
Prints a representation of this object to the system log file. More... | |
unsafe void | SetAttribute (string title, int value) |
Creates or modifies an integer attribute. More... | |
unsafe void | SetAttribute (string title, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, double value) |
Creates or modifies a real attribute. More... | |
unsafe void | SetAttribute (string title, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, string value) |
Creates or modifies a string attribute. More... | |
unsafe void | SetAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title) |
Creates or modifies a null attribute which is an attribute with a title and no value. More... | |
unsafe void | SetAttribute (string title, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetBooleanUserAttribute (string title, int index, bool value, NXOpen.Update.Option option) |
Creates or modifies a boolean attribute with the option to update or not. More... | |
unsafe void | SetName (string name) |
Sets the custom name of the object. More... | |
unsafe void | SetPdmReferenceAttribute (string attributeTitle, string attributeValue) |
Sets the value of PDM Reference attribute on the object. More... | |
unsafe void | SetReferenceAttribute (string title, string value) |
Creates or modifies a string attribute which uses a reference string. More... | |
unsafe void | SetReferenceAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. More... | |
unsafe void | SetTimeAttribute (string title, string value) |
Creates or modifies a time attribute. More... | |
unsafe void | SetTimeAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, NXOpen.NXObject.ComputationalTime value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (NXOpen.NXObject.AttributeInformation info, NXOpen.Update.Option option) |
Creates or modifies an attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type, bool @lock) |
Lock or unlock the given attribute. 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 | AllowDeleteMembers [get, set] |
Returns or sets the allow delete members flag. More... | |
Properties inherited from NXOpen.Features.Feature | |
unsafe int | AlgorithmVersion [get] |
Returns the algorithm version of the feature More... | |
unsafe NXOpen.Features.IContainerFeature | ContainerFeature [get] |
Returns the container feature for this feature. More... | |
unsafe string | FeatureType [get] |
Returns the feature type More... | |
unsafe bool | IsContainedFeature [get] |
Returns true if the feature is a contained feature. More... | |
unsafe bool | IsInternal [get] |
Returns true if the feature is internal. More... | |
unsafe NXOpen.Point3d | Location [get] |
Returns the location of the feature More... | |
unsafe bool | Suppressed [get] |
Returns the suppression status of the feature More... | |
unsafe int | Timestamp [get] |
Returns the timestamp of the feature More... | |
Properties inherited from NXOpen.NXObject | |
unsafe bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
unsafe string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
unsafe string | Name [get] |
Returns the custom name of the object. More... | |
unsafe NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
unsafe NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
unsafe NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. 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... | |
Properties inherited from NXOpen.INXObject | |
bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
string | Name [get] |
Returns the custom name of the object. More... | |
NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents a part module
To create or edit an instance of this class, use NXOpen.Features.PartModuleBuilder
Created in NX8.0.0
|
inline |
Indicates whether the part module is to be activated.
If true, the part module will be activated, else, part module will be deactivated
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
active |
|
inline |
Breaks part module relationship
Created in NX8.0.0
License requirements: wave ("WAVE FUNCTIONALITY")
|
inline |
Creates a linked part module
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
createdPart | part file tag |
|
inline |
Creates part module input builder
Created in NX9.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Creates part module output builder
This API is now deprecated. Please use NXOpen.Features.PartModule.CreatePartModuleOutputBuilder1 instead.
Created in NX8.0.0
Deprecated in NX9.0.0. Please use NXOpen.Features.PartModule.CreatePartModuleOutputBuilder1 instead.
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Creates new part module output builder
Created in NX9.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Opens linked part module part
Created in NX10.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Opens linked part module part in an additional window if possible, otherwise it will replace active displayed part in existing window.
Created in NX12.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Opens owning part module part
Created in NX10.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Opens owning part module part in an additional window if possible, otherwise it will replace active displayed part in existing window.
Created in NX12.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Loads interpart data for linked part module
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Loads own part or inter part of part module based on the input
Created in NX10.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
partLoadOption | the part load options defined in NXOpen.Features.PartModule.PartLoadOption . This argument will accept combination of load options |
|
inline |
Opens linked part module part
Created in NX8.0.0
Deprecated in NX10.0.0. Please use NXOpen.Features.PartModule.DisplayLinkedPart instead.
License requirements: solid_modeling ("SOLIDS MODELING")
|
inline |
Opens owning part module part
Created in NX8.0.0
Deprecated in NX10.0.0. Please use NXOpen.Features.PartModule.DisplayMainPart instead.
License requirements: solid_modeling ("SOLIDS MODELING")
|
inline |
Merges part module and its linked part module into a single part module
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Process the deletion of a Part Module
Created in NX9.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Shows all displayable objects of part module and hides all other objects in the part
Created in NX8.0.0
License requirements: solid_modeling ("SOLIDS MODELING")
|
inline |
Updates inputs in the given linked part module
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
inline |
Updates outputs in the given part module
Created in NX8.0.0
License requirements: usr_defined_features ("USER DEFINED FEATURES")
|
getset |
Returns or sets the allow delete members flag.
If true, members of the part module will also be deleted when the part module is deleted. If false, only the part module is deleted
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: usr_defined_features ("USER DEFINED FEATURES")