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

Represents a Features.CustomAttribute class More...

Inheritance diagram for NXOpen.Features.CustomAttribute:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink NXOpen.Features.CustomDoubleArrayAttribute NXOpen.Features.CustomDoubleAttribute NXOpen.Features.CustomExpressionArrayAttribute NXOpen.Features.CustomExpressionAttribute NXOpen.Features.CustomIntegerArrayAttribute NXOpen.Features.CustomIntegerAttribute NXOpen.Features.CustomLogicalArrayAttribute NXOpen.Features.CustomLogicalAttribute NXOpen.Features.CustomStringArrayAttribute NXOpen.Features.CustomStringAttribute NXOpen.Features.CustomTagArrayAttribute NXOpen.Features.CustomTagAttribute

Public Types

enum  Property { IsOutputAttribute = 1, IsOwnedAttribute, IsReferencingTargetBody = 4, MandatoryInput = 8 }
 Specifies custom attribute type. More...
 
enum  Type {
  Unknown, Expression, ExpressionVla, Tag,
  TagVla, Bool, BoolVla, Integer,
  IntegerVla, Double, DoubleVla, String,
  StringVla
}
 Specifies custom attribute type. More...
 

Public Member Functions

unsafe void AddProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute add property More...
 
unsafe
NXOpen.Features.CustomAttribute.Property[] 
GetProperties ()
 The custom attribute get all properties More...
 
unsafe bool HasProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute does property exist on attribute More...
 
unsafe void RemoveProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute remove property More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new 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...
 

Protected Member Functions

override void FreeResource ()
 Frees the memory associated with this object. More...
 

Properties

unsafe string Name [get, set]
 Returns or sets the custom attribute name More...
 
unsafe
NXOpen.Features.CustomAttribute.Type 
TypeValue [get]
 Returns the custom attribute type value More...
 
- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Detailed Description

Represents a Features.CustomAttribute class

This is an abstract base class of all the types of attributes.

Created in NX11.0.0

Member Enumeration Documentation

Specifies custom attribute type.

Enumerator
IsOutputAttribute 

Output Attribute

IsOwnedAttribute 

Owned Attribute

IsReferencingTargetBody 

Attribute Referencing to target body

MandatoryInput 

Specifies custom attribute type.

Enumerator
Unknown 

Invalid or unknown.

Expression 

Expression.

ExpressionVla 

Expression variable length array.

Tag 

Reference.

TagVla 

Reference variable length array.

Bool 

Bool.

BoolVla 

Bool variable length array.

Integer 

Integer.

IntegerVla 

Integer variable length array.

Double 

Double.

DoubleVla 

Double variable length array.

String 

String.

StringVla 

String variable length array.

Member Function Documentation

unsafe void NXOpen.Features.CustomAttribute.AddProperty ( NXOpen.Features.CustomAttribute.Property  attributeProperty)
inline

The custom attribute add property

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
attributeProperty
override void NXOpen.Features.CustomAttribute.FreeResource ( )
inlineprotectedvirtual

Frees the memory associated with this object.

After invocation of this method, the object is no longer valid.

Created in NX11.0.0

License requirements: None.

Implements NXOpen.TransientObject.

unsafe NXOpen.Features.CustomAttribute.Property [] NXOpen.Features.CustomAttribute.GetProperties ( )
inline

The custom attribute get all properties

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Returns
unsafe bool NXOpen.Features.CustomAttribute.HasProperty ( NXOpen.Features.CustomAttribute.Property  attributeProperty)
inline

The custom attribute does property exist on attribute

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
attributeProperty
Returns
unsafe void NXOpen.Features.CustomAttribute.RemoveProperty ( NXOpen.Features.CustomAttribute.Property  attributeProperty)
inline

The custom attribute remove property

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
attributeProperty

Property Documentation

unsafe string NXOpen.Features.CustomAttribute.Name
getset

Returns or sets the custom attribute name

Created in NX11.0.0

License requirements to get this property: solid_modeling ("SOLIDS MODELING")

License requirements to set this property: solid_modeling ("SOLIDS MODELING")

unsafe NXOpen.Features.CustomAttribute.Type NXOpen.Features.CustomAttribute.TypeValue
get

Returns the custom attribute type value

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")


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