NXOpen .NET Reference Guide
1899
|
Selection Recipe Attribute Strategy More...
Public Member Functions | |
unsafe void | ClearAllAttributes () |
Clear all attributes More... | |
unsafe bool | GetHasUserAttributes (string attributeName) |
Gets the presence of the user attribute with given name. More... | |
unsafe void | GetNameAttribute (out string[] names) |
Get the name attribute. More... | |
unsafe void | GetUserAttributeNames (out string[] userAttributeNames) |
Gets the names of all set user attributes. More... | |
unsafe void | GetUserAttributes (string attributeName, out NXOpen.NXObject.AttributeInformation[] lowValueAttribute, out NXOpen.NXObject.AttributeInformation[] highValueAttribute) |
Gets the low and high value of user attribute with given name. More... | |
unsafe void | RemoveColorAttribute () |
Removes the color attribute. More... | |
unsafe void | RemoveNameAttribute () |
Removes the name attribute. More... | |
unsafe void | RemoveUserAttributes (string attributeName) |
Removes the user attribute with given name. More... | |
unsafe void | SetColorAttribute (int color) |
Sets or adds the color attribute. More... | |
unsafe void | SetNameAttribute (string name) |
Sets or adds the name attribute. More... | |
unsafe void | SetNameAttribute (string[] names) |
Sets or adds the name attribute. More... | |
unsafe void | SetUserAttributes (string attributeName, NXOpen.NXObject.AttributeInformation[] lowValueAttributes, NXOpen.NXObject.AttributeInformation[] highValueAttributes) |
Sets or adds the low and high value of user attribute with given name. More... | |
unsafe void | SetUserAttributes (bool setNameAttribute, string nameAttribute, bool setColorAttribute, int colorAttribute, NXOpen.NXObject.AttributeInformation[] lowValueAttributes, NXOpen.NXObject.AttributeInformation[] highValueAttributes) |
Convenience method to set multiple attributes at once. More... | |
unsafe void | SetUserAttributes (bool setNameAttribute, string[] nameAttribute, bool setColorAttribute, int colorAttribute, NXOpen.NXObject.AttributeInformation[] lowValueAttributes, NXOpen.NXObject.AttributeInformation[] highValueAttributes) |
Convenience method to set multiple attributes at once. More... | |
Properties | |
unsafe int | ColorAttribute [get] |
Returns the color attribute. More... | |
unsafe bool | HasColorAttribute [get] |
Returns the presence of the color attribute. More... | |
unsafe bool | HasNameAttribute [get] |
Returns the presence of the name attribute. More... | |
unsafe string | NameAttribute [get] |
Returns the name attribute. More... | |
Properties inherited from NXOpen.CAE.SelRecipeStrategy | |
unsafe NXOpen.TaggedObject | InputFilter [get, set] |
Returns or sets the input filter More... | |
Properties inherited from NXOpen.CAE.SelRecipeBaseStrategy | |
unsafe NXOpen.CAE.SelRecipeBaseStrategy.Type | StrategyType [get] |
Returns the strategy type More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen.CAE.SelRecipeBaseStrategy | |
enum | Type { Invalid = -1, BoundingVolume, Attribute, LabelRange, SingleLabel, Coordinate, Point, Proximity, AdjacentFaces, CircularEdges, CylinderFaces, FeatureEdgeNodes, FeatureElements, FeatureElementEdges, FeatureElementFaces, FeatureNodes, FeatureShellElements, FilletFaces, FilterBodies, FilterEdges, FilterElements, FilterFaces, HoleElementEdges, RelatedEdges, RelatedElementEdges, RelatedElementFaces, RelatedElements, RelatedCurves, RelatedFaces, RelatedNodes, RelatedVertices, SliverFaces, SpiderCoreNodes, TangentContinuousEdges, TangentFaces } |
the strategy type More... | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Selection Recipe Attribute Strategy
Use the NXOpen.CAE.SelRecipeBuilder class to add strategy.
Created in NX1847.0.0
|
inline |
Clear all attributes
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
inline |
Gets the presence of the user attribute with given name.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
attributeName |
|
inline |
Get the name attribute.
Created in NX1872.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
names |
|
inline |
Gets the names of all set user attributes.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
userAttributeNames |
|
inline |
Gets the low and high value of user attribute with given name.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
attributeName | |
lowValueAttribute | |
highValueAttribute |
|
inline |
Removes the color attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
inline |
Removes the name attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
inline |
Removes the user attribute with given name.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
attributeName |
|
inline |
Sets or adds the color attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
color |
|
inline |
Sets or adds the name attribute.
Created in NX1847.0.0
Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.SetNameAttribute that sets multiple strings instead.
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
name |
|
inline |
Sets or adds the name attribute.
Created in NX1872.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
names |
|
inline |
Sets or adds the low and high value of user attribute with given name.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
attributeName | |
lowValueAttributes | |
highValueAttributes |
|
inline |
Convenience method to set multiple attributes at once.
The name and color are optional. It's recommended to use this method in case of setting multiple attributes, to avoid having the recipe resolve multiple times.
Created in NX1847.0.0
Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.SetUserAttributes that sets multiple name attribute values instead.
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
setNameAttribute | |
nameAttribute | |
setColorAttribute | |
colorAttribute | |
lowValueAttributes | |
highValueAttributes |
|
inline |
Convenience method to set multiple attributes at once.
The name and color are optional. It's recommended to use this method in case of setting multiple attributes, to avoid having the recipe resolve multiple times.
Created in NX1872.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
setNameAttribute | |
nameAttribute | |
setColorAttribute | |
colorAttribute | |
lowValueAttributes | |
highValueAttributes |
|
get |
Returns the color attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
get |
Returns the presence of the color attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
get |
Returns the presence of the name attribute.
Created in NX1847.0.0
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
|
get |
Returns the name attribute.
Created in NX1847.0.0
Deprecated in NX1872.0.0. Use overloadedCAE.SelRecipeAttributeStrategy.GetNameAttribute that returns multiple strings instead.
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")