Class SelRecipeAttributeStrategy
Inheritance
System.Object
System.MarshalByRefObject
SelRecipeAttributeStrategy
Implements
System.Runtime.Remoting.Messaging.IMessageSink
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)
Assembly: NXOpen.dll
Syntax
public class SelRecipeAttributeStrategy : SelRecipeStrategy, IMessageSink
Constructors
SelRecipeAttributeStrategy()
Declaration
protected SelRecipeAttributeStrategy()
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
[Obsolete("Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.GetNameAttribute that returns multiple strings instead.")]
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 |
|
GetNameAttribute(out String[])
Declaration
public void GetNameAttribute(out string[] names)
Parameters
Type |
Name |
Description |
System.String[] |
names |
|
GetUserAttributeNames(out String[])
Declaration
public void GetUserAttributeNames(out string[] userAttributeNames)
Parameters
Type |
Name |
Description |
System.String[] |
userAttributeNames |
|
Declaration
public void GetUserAttributes(string attributeName, out NXObject.AttributeInformation[] lowValueAttribute, out NXObject.AttributeInformation[] highValueAttribute)
Parameters
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
[Obsolete("Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.SetNameAttribute that sets multiple strings instead.")]
public void SetNameAttribute(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
SetNameAttribute(String[])
Declaration
public void SetNameAttribute(string[] names)
Parameters
Type |
Name |
Description |
System.String[] |
names |
|
Declaration
[Obsolete("Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.SetUserAttributes that sets multiple name attribute values instead.")]
public void SetUserAttributes(bool setNameAttribute, string nameAttribute, bool setColorAttribute, int colorAttribute, NXObject.AttributeInformation[] lowValueAttributes, NXObject.AttributeInformation[] highValueAttributes)
Parameters
Declaration
public void SetUserAttributes(bool setNameAttribute, string[] nameAttribute, bool setColorAttribute, int colorAttribute, NXObject.AttributeInformation[] lowValueAttributes, NXObject.AttributeInformation[] highValueAttributes)
Parameters
Declaration
public void SetUserAttributes(string attributeName, NXObject.AttributeInformation[] lowValueAttributes, NXObject.AttributeInformation[] highValueAttributes)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink