NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
NXOpen.PartFamily.InstanceSelectionCriteria Class Reference

Represents the selection criteria of a part family instance More...

Inheritance diagram for NXOpen.PartFamily.InstanceSelectionCriteria:
NXOpen.TaggedObject NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void GetCriteriaStrings (out string[] criteriaStringArray)
 Obtains the criteria strings associated with this selection criteria. More...
 
unsafe bool IsValidPartFamilyInstanceSelectionCriteria ()
 Returns true if the selection criteria evaluates to a valid part family instance, false otherwise. More...
 
unsafe void SetPartFamilyInstanceSelectionCriteria (NXOpen.PartFamily.FamilyAttribute[] attributes, string[] criteriaStringArray)
 Sets criteria on NXOpen.PartFamily.InstanceSelectionCriteria . More...
 
unsafe void SetPartFamilyInstanceSelectionCriteria (string memberName)
 Sets criteria on NXOpen.PartFamily.InstanceSelectionCriteria . More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe NXOpen.PartFamily.Template Family [get]
 Returns the NXOpen.PartFamily.Template that corresponds to this criteria object More...
 
unsafe NXOpen.PartFamily.Instance Instance [get]
 Returns the NXOpen.PartFamily.Instance of criteria. 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

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents the selection criteria of a part family instance

Use NXOpen.Assemblies.Component.CreateEmptyPartFamilyInstanceSelectionCriteria to get an instance of this class.

Created in NX9.0.0

Member Function Documentation

unsafe void NXOpen.PartFamily.InstanceSelectionCriteria.GetCriteriaStrings ( out string[]  criteriaStringArray)
inline

Obtains the criteria strings associated with this selection criteria.

Output "criteriaStringArray" would be an array of TEXT_pc_t with each element of the form for e.g. "p7 > 100", where "p7" is the attribute, "100" the value and ">" the expression connecting both

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
criteriaStringArray
unsafe bool NXOpen.PartFamily.InstanceSelectionCriteria.IsValidPartFamilyInstanceSelectionCriteria ( )
inline

Returns true if the selection criteria evaluates to a valid part family instance, false otherwise.

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Returns
unsafe void NXOpen.PartFamily.InstanceSelectionCriteria.SetPartFamilyInstanceSelectionCriteria ( NXOpen.PartFamily.FamilyAttribute[]  attributes,
string[]  criteriaStringArray 
)
inline

Sets criteria on NXOpen.PartFamily.InstanceSelectionCriteria .

This criteria can be used while adding a part family member to assembly. Number of elements in "attributes" and "criteriaStringArray" should always match the "attributeCount". "criteriaStringArray" has to be an array of TEXT_pc_t with each element of the form for e.g. "p7 >= 100", where "p7" is the attribute, "100" the value and ">=" the expression connecting both

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
attributes
criteriaStringArray
unsafe void NXOpen.PartFamily.InstanceSelectionCriteria.SetPartFamilyInstanceSelectionCriteria ( string  memberName)
inline

Sets criteria on NXOpen.PartFamily.InstanceSelectionCriteria .

This routine can be used when user wants to add a part family member to assembly directly using the "memberName" instead of using attribute criteria. This "memberName" will be ignored in case the InstenaceSelectionCriteria already has any valid attribute criteria or if the user adds a valid attribute criteria later on. User could obtain valid "memberName" using NXOpen.PartFamily.Template.GetMembers .

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
memberName

Property Documentation

unsafe NXOpen.PartFamily.Template NXOpen.PartFamily.InstanceSelectionCriteria.Family
get

Returns the NXOpen.PartFamily.Template that corresponds to this criteria object

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

unsafe NXOpen.PartFamily.Instance NXOpen.PartFamily.InstanceSelectionCriteria.Instance
get

Returns the NXOpen.PartFamily.Instance of criteria.

Created in NX9.0.0

License requirements: solid_modeling ("SOLIDS MODELING")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.