Class AttributeSelectionRecipe
Inheritance
System.Object
System.MarshalByRefObject
AttributeSelectionRecipe
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.CAE
Assembly: NXOpen.dll
Syntax
public class AttributeSelectionRecipe : SelectionRecipe, IMessageSink, IFitTo, INXObject
Constructors
AttributeSelectionRecipe()
Declaration
protected AttributeSelectionRecipe()
Properties
ColorAttribute
Declaration
public int ColorAttribute { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
HasColorAttribute
Declaration
public bool HasColorAttribute { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasNameAttribute
Declaration
public bool HasNameAttribute { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
NameAttribute
Declaration
public string NameAttribute { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ClearAllAttributes()
Declaration
public void ClearAllAttributes()
GetHasUserAttributes(String)
Declaration
public bool GetHasUserAttributes(string attributeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName |
Returns
Type | Description |
---|---|
System.Boolean |
GetUserAttributeNames(out String[])
Declaration
public void GetUserAttributeNames(out string[] userAttributeNames)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | userAttributeNames |
GetUserAttributes(String, out NXObject.AttributeInformation, out NXObject.AttributeInformation)
Declaration
public void GetUserAttributes(string attributeName, out NXObject.AttributeInformation lowValueAttribute, out NXObject.AttributeInformation highValueAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName | |
NXObject.AttributeInformation | lowValueAttribute | |
NXObject.AttributeInformation | highValueAttribute |
RemoveColorAttribute()
Declaration
public void RemoveColorAttribute()
RemoveNameAttribute()
Declaration
public void RemoveNameAttribute()
RemoveUserAttributes(String)
Declaration
public void RemoveUserAttributes(string attributeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName |
SetColorAttribute(Int32)
Declaration
public void SetColorAttribute(int color)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | color |
SetNameAttribute(String)
Declaration
public void SetNameAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
SetUserAttributes(Boolean, String, Boolean, Int32, String[], NXObject.AttributeInformation[], NXObject.AttributeInformation[])
Declaration
public void SetUserAttributes(bool setNameAttribute, string nameAttribute, bool setColorAttribute, int colorAttribute, string[] userAttributeNames, NXObject.AttributeInformation[] lowValueAttributes, NXObject.AttributeInformation[] highValueAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | setNameAttribute | |
System.String | nameAttribute | |
System.Boolean | setColorAttribute | |
System.Int32 | colorAttribute | |
System.String[] | userAttributeNames | |
NXObject.AttributeInformation[] | lowValueAttributes | |
NXObject.AttributeInformation[] | highValueAttributes |
SetUserAttributes(String, NXObject.AttributeInformation, NXObject.AttributeInformation)
Declaration
public void SetUserAttributes(string attributeName, NXObject.AttributeInformation lowValueAttribute, NXObject.AttributeInformation highValueAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName | |
NXObject.AttributeInformation | lowValueAttribute | |
NXObject.AttributeInformation | highValueAttribute |
Implements
System.Runtime.Remoting.Messaging.IMessageSink