NXOpen .NET Reference  12.0.0
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.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  Type {
  Unknown, Expression, ExpressionVla, Tag,
  TagVla, Bool, BoolVla, Integer,
  IntegerVla, Double, DoubleVla, String,
  StringVla
}
 Specifies custom attribute type. More...
 
enum  Property { IsOutputAttribute = 1, IsOwnedAttribute, IsReferencingTargetBody = 4, MandatoryInput = 8 }
 Specifies custom attribute type. More...
 

Public Member Functions

unsafe void AddProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute add property More...
 
unsafe void RemoveProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute remove property More...
 
unsafe bool HasProperty (NXOpen.Features.CustomAttribute.Property attributeProperty)
 The custom attribute does property exist on attribute More...
 
unsafe
NXOpen.Features.CustomAttribute.Property[] 
GetProperties ()
 The custom attribute get all properties 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...
 

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)

The custom attribute add property

Created in NX11.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

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

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.

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

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)

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)

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.