OMClass Class

class NXOpen.OMClass

Bases: NXOpen.TaggedObject, NXOpen.IOMName

Represents a OMClass.

This is for internal testing only.

This is a test classs.

New in version NX3.0.0.

Properties

Property Description
Superclass Returns the superclass
Tag Returns the Tag for this object.

Methods

Method Description
CompareWith Compare with
GetAllAttributeInfo Return all
GetAttributes Return the
GetObjectName Returns the object name
IsDefiningClassFor Is define

Property Detail

Superclass

OMClass.Superclass

Returns the superclass

-------------------------------------

Getter Method

Signature Superclass

Returns:
Return type:NXOpen.OMClass

New in version NX3.0.0.

License requirements: None.

Method Detail

CompareWith

OMClass.CompareWith

Compare with

Signature CompareWith(other)

Parameters:other (NXOpen.IOMName) –
Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

GetAllAttributeInfo

OMClass.GetAllAttributeInfo

Return all

Signature GetAllAttributeInfo()

Returns:
Return type:list of NXOpen.OMAttributeInfo_Struct

New in version NX3.0.0.

License requirements: None.

GetAttributes

OMClass.GetAttributes

Return the

Signature GetAttributes()

Returns:
Return type:list of NXOpen.OMAttribute

New in version NX3.0.0.

License requirements: None.

GetObjectName

OMClass.GetObjectName

Returns the object name

Signature GetObjectName()

Returns:
Return type:str

New in version NX3.0.0.

License requirements: None.

IsDefiningClassFor

OMClass.IsDefiningClassFor

Is define

Signature IsDefiningClassFor(attribute)

Parameters:attribute (NXOpen.OMAttribute) –
Returns:
Return type:bool

New in version NX4.0.0.

License requirements: None.