Class ComponentAssembly
Inheritance
System.Object
System.MarshalByRefObject
ComponentAssembly
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 ComponentAssembly : NXObject, IMessageSink, INXObject
Constructors
ComponentAssembly()
Declaration
protected ComponentAssembly()
Properties
ActiveArrangement
Declaration
public Arrangement ActiveArrangement { get; set; }
Property Value
Arrangements
Declaration
public ArrangementCollection Arrangements { get; }
Property Value
ClearanceSets
Declaration
public ClearanceSetCollection ClearanceSets { get; }
Property Value
ComponentPatterns
Declaration
public ComponentPatternCollection ComponentPatterns { get; }
Property Value
DrawingExplosions
Declaration
public DrawingExplosionCollection DrawingExplosions { get; }
Property Value
Explosions
Declaration
public ExplosionCollection Explosions { get; }
Property Value
Declaration
public OrderCollection OrdersSet { get; }
Property Value
Positioner
Declaration
public ComponentPositioner Positioner { get; }
Property Value
RootComponent
Declaration
public Component RootComponent { get; }
Property Value
Subsets
Declaration
public SubsetCollection Subsets { get; }
Property Value
Methods
AddComponent(BasePart, String, String, Point3d, Matrix3x3, Int32, out PartLoadStatus)
Declaration
public Component AddComponent(BasePart partToAdd, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, out PartLoadStatus loadStatus)
Parameters
Returns
AddComponent(String, String, String, Point3d, Matrix3x3, Int32, out PartLoadStatus)
Declaration
public Component AddComponent(string partToAdd, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, out PartLoadStatus loadStatus)
Parameters
| Type |
Name |
Description |
| System.String |
partToAdd |
|
| System.String |
referenceSetName |
|
| System.String |
componentName |
|
| Point3d |
basePoint |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| PartLoadStatus |
loadStatus |
|
Returns
AddComponent(String, String, String, Point3d, Matrix3x3, Int32, out PartLoadStatus, Boolean)
Declaration
public Component AddComponent(string partToAdd, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, out PartLoadStatus loadStatus, bool uomAsNgc)
Parameters
| Type |
Name |
Description |
| System.String |
partToAdd |
|
| System.String |
referenceSetName |
|
| System.String |
componentName |
|
| Point3d |
basePoint |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| PartLoadStatus |
loadStatus |
|
| System.Boolean |
uomAsNgc |
|
Returns
AddComponents(Part[], Point3d, Matrix3x3, Int32, String, Int32, Boolean, out Component[])
Declaration
public void AddComponents(Part[] partsToAdd, Point3d point, Matrix3x3 orientation, int layer, string referenceSetName, int count, bool scatter, out Component[] components)
Parameters
| Type |
Name |
Description |
| Part[] |
partsToAdd |
|
| Point3d |
point |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| System.String |
referenceSetName |
|
| System.Int32 |
count |
|
| System.Boolean |
scatter |
|
| Component[] |
components |
|
AddMasterPartComponent(Part, String, String, Point3d, Matrix3x3, Int32, out PartLoadStatus)
Declaration
public Component AddMasterPartComponent(Part partToAdd, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, out PartLoadStatus loadStatus)
Parameters
| Type |
Name |
Description |
| Part |
partToAdd |
|
| System.String |
referenceSetName |
|
| System.String |
componentName |
|
| Point3d |
basePoint |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| PartLoadStatus |
loadStatus |
|
Returns
AddMasterPartComponent(String, String, String, Point3d, Matrix3x3, Int32, out PartLoadStatus)
Declaration
public Component AddMasterPartComponent(string partToAdd, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, out PartLoadStatus loadStatus)
Parameters
| Type |
Name |
Description |
| System.String |
partToAdd |
|
| System.String |
referenceSetName |
|
| System.String |
componentName |
|
| Point3d |
basePoint |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| PartLoadStatus |
loadStatus |
|
Returns
AddPendingComponent(String, NXObject, String, String, Point3d, Matrix3x3, Int32, Boolean)
Declaration
public PartLoadStatus AddPendingComponent(string partToAdd, NXObject pendingComponent, string referenceSetName, string componentName, Point3d basePoint, Matrix3x3 orientation, int layer, bool uomAsNgc)
Parameters
| Type |
Name |
Description |
| System.String |
partToAdd |
|
| NXObject |
pendingComponent |
|
| System.String |
referenceSetName |
|
| System.String |
componentName |
|
| Point3d |
basePoint |
|
| Matrix3x3 |
orientation |
|
| System.Int32 |
layer |
|
| System.Boolean |
uomAsNgc |
|
Returns
ChangeByName(String, Component[])
Declaration
public void ChangeByName(string name, Component[] partOccs)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| Component[] |
partOccs |
|
CheckinComponents(Component[], ComponentAssembly.CheckinCheckoutOption)
Declaration
public ErrorList CheckinComponents(Component[] partOccs, ComponentAssembly.CheckinCheckoutOption checkinInputOption)
Parameters
Returns
CheckinWorkset()
Declaration
public ErrorList CheckinWorkset()
Returns
CheckoutAllModifiedObjects(out NXObject[])
Declaration
public ErrorList CheckoutAllModifiedObjects(out NXObject[] checkedOutObjects)
Parameters
| Type |
Name |
Description |
| NXObject[] |
checkedOutObjects |
|
Returns
CheckoutComponents(Component[], ComponentAssembly.CheckinCheckoutOption)
Declaration
public ErrorList CheckoutComponents(Component[] partOccs, ComponentAssembly.CheckinCheckoutOption checkoutInputOption)
Parameters
Returns
CheckoutWorkset()
Declaration
public ErrorList CheckoutWorkset()
Returns
CloseComponents(Component[], BasePart.CloseWholeTree, ComponentAssembly.CloseModified)
Declaration
public PartCloseStatus CloseComponents(Component[] componentsToClose, BasePart.CloseWholeTree wholeTree, ComponentAssembly.CloseModified closeModified)
Parameters
Returns
ConvertRememberedMcs()
Declaration
public void ConvertRememberedMcs()
CopyComponents(Component[])
Declaration
public Component[] CopyComponents(Component[] components)
Parameters
Returns
CreateComponentPatternBuilder(ComponentPattern)
Declaration
public ComponentPatternBuilder CreateComponentPatternBuilder(ComponentPattern compPattern)
Parameters
Returns
CreateConstraintGroupBuilder(ComponentConstraintGroup, Component)
Declaration
public ComponentConstraintGroupBuilder CreateConstraintGroupBuilder(ComponentConstraintGroup group, Component contextComponent)
Parameters
Returns
CreateIsolateViewWithComponents(Component[], out View)
Declaration
public ErrorList CreateIsolateViewWithComponents(Component[] components, out View view)
Parameters
Returns
CreateMatingConverter()
Declaration
public MatingConverter CreateMatingConverter()
Returns
DeleteMatingConditions()
Declaration
public void DeleteMatingConditions()
GetActiveOrder()
Declaration
public Order GetActiveOrder()
Returns
GetAsRequiredQuantity(Component)
Declaration
public string GetAsRequiredQuantity(Component component)
Parameters
Returns
| Type |
Description |
| System.String |
|
GetCheckedoutStatusOfObjects(out NXObject[], out NXObject[])
Declaration
public void GetCheckedoutStatusOfObjects(out NXObject[] checkedOutObjects, out NXObject[] uncheckedOutObjects)
Parameters
| Type |
Name |
Description |
| NXObject[] |
checkedOutObjects |
|
| NXObject[] |
uncheckedOutObjects |
|
GetComponentOrders(out ComponentOrder[])
Declaration
public void GetComponentOrders(out ComponentOrder[] orders)
Parameters
GetComponentQuantityType(Component)
Declaration
public ComponentQuantity GetComponentQuantityType(Component component)
Parameters
Returns
GetIntegerQuantity(Component)
Declaration
public int GetIntegerQuantity(Component component)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
GetNonGeometricState(Component)
Declaration
public bool GetNonGeometricState(Component component)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetRealQuantity(Component, out String)
Declaration
public double GetRealQuantity(Component component, out string units)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.String |
units |
|
Returns
| Type |
Description |
| System.Double |
|
GetSuppressedState(Component, Arrangement, out Boolean)
Declaration
public ComponentAssembly.SuppressedState GetSuppressedState(Component component, Arrangement arrangement, out bool controlled)
Parameters
Returns
GetSuppressedState(Component, out Boolean)
Declaration
public ComponentAssembly.SuppressedState GetSuppressedState(Component component, out bool controlled)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.Boolean |
controlled |
|
Returns
GetSuppressionExpression(Component)
Declaration
public Expression GetSuppressionExpression(Component component)
Parameters
Returns
GetSuppressionExpression(Component, Arrangement)
Declaration
public Expression GetSuppressionExpression(Component component, Arrangement arrangement)
Parameters
Returns
HideComponentsInIsolateView(Component[], out View)
Declaration
public ErrorList HideComponentsInIsolateView(Component[] components, out View view)
Parameters
Returns
InsertProduct(Part, Int32, out PartLoadStatus)
Declaration
public Component InsertProduct(Part productPart, int layer, out PartLoadStatus loadStatus)
Parameters
Returns
MapComponentFromParent(Component)
Declaration
public Component MapComponentFromParent(Component component)
Parameters
Returns
MapComponentsFromSubassembly(Component)
Declaration
public Component[] MapComponentsFromSubassembly(Component component)
Parameters
Returns
MoveComponent(Component, Vector3d, Matrix3x3)
Declaration
public void MoveComponent(Component component, Vector3d translation, Matrix3x3 rotation)
Parameters
MoveToPendingComponent(NXObject)
Declaration
public void MoveToPendingComponent(NXObject component)
Parameters
| Type |
Name |
Description |
| NXObject |
component |
|
OpenComponents(ComponentAssembly.OpenOption, Component[], out ComponentAssembly.OpenComponentStatus[])
Declaration
public PartLoadStatus OpenComponents(ComponentAssembly.OpenOption openOption, Component[] componentsToOpen, out ComponentAssembly.OpenComponentStatus[] openStatus)
Parameters
Returns
ReleaseSuppression(Component[])
Declaration
public ErrorList ReleaseSuppression(Component[] components)
Parameters
Returns
ReleaseSuppression(Component[], Arrangement[])
Declaration
public ErrorList ReleaseSuppression(Component[] components, Arrangement[] arrangements)
Parameters
Returns
RemoveComponent(Component)
Declaration
public void RemoveComponent(Component component)
Parameters
ReorderChildrenOfParent(ComponentOrder, Component, Component[])
Declaration
public void ReorderChildrenOfParent(ComponentOrder order, Component parentComponent, Component[] componentsToReorder)
Parameters
ReorderComponents(ComponentOrder, Component[], Component, ComponentAssembly.OrderTargetLocation)
Declaration
public void ReorderComponents(ComponentOrder order, Component[] componentsToReorder, Component targetComponent, ComponentAssembly.OrderTargetLocation beforeOrAfter)
Parameters
ReplaceReferenceSet(Component, String)
Declaration
public void ReplaceReferenceSet(Component component, string newReferenceSet)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.String |
newReferenceSet |
|
ReplaceReferenceSetInOwners(String, Component[])
Declaration
public ErrorList ReplaceReferenceSetInOwners(string newReferenceSet, Component[] components)
Parameters
| Type |
Name |
Description |
| System.String |
newReferenceSet |
|
| Component[] |
components |
|
Returns
RestructureComponents(Component[], Component, Boolean, out Component[], out ErrorList)
Declaration
public void RestructureComponents(Component[] origComponents, Component newParentComponent, bool deleteFlag, out Component[] newComponents, out ErrorList errorList)
Parameters
SetAsRequiredQuantity(Component)
Declaration
public void SetAsRequiredQuantity(Component component)
Parameters
SetDefault(Arrangement)
Declaration
public void SetDefault(Arrangement arrangement)
Parameters
SetEmptyRefset(Component)
Declaration
public void SetEmptyRefset(Component component)
Parameters
SetEntirePartRefset(Component)
Declaration
public void SetEntirePartRefset(Component component)
Parameters
SetIntegerQuantity(Component, Int32)
Declaration
public void SetIntegerQuantity(Component component, int integerQuantity)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.Int32 |
integerQuantity |
|
SetNonGeometricState(Component, Boolean)
Declaration
public void SetNonGeometricState(Component component, bool nonGeometricState)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.Boolean |
nonGeometricState |
|
SetRealQuantity(Component, Double, String)
Declaration
public void SetRealQuantity(Component component, double realQuantity, string quantityUnits)
Parameters
| Type |
Name |
Description |
| Component |
component |
|
| System.Double |
realQuantity |
|
| System.String |
quantityUnits |
|
ShowComponentsInIsolateView(Component[], out View)
Declaration
public ErrorList ShowComponentsInIsolateView(Component[] components, out View view)
Parameters
Returns
SubstituteComponent(Component, BasePart, String, String, Int32, ComponentAssembly.SubstitutionMode)
Declaration
public Component SubstituteComponent(Component component, BasePart part, string newName, string referenceSet, int layer, ComponentAssembly.SubstitutionMode mode)
Parameters
Returns
SuppressComponents(Component[])
Declaration
public ErrorList SuppressComponents(Component[] components)
Parameters
Returns
SuppressComponents(Component[], Arrangement[])
Declaration
public ErrorList SuppressComponents(Component[] components, Arrangement[] arrangements)
Parameters
Returns
SuppressComponents(Component[], Arrangement[], String)
Declaration
public ErrorList SuppressComponents(Component[] components, Arrangement[] arrangements, string expression)
Parameters
Returns
UnsuppressComponents(Component[])
Declaration
public ErrorList UnsuppressComponents(Component[] components)
Parameters
Returns
UnsuppressComponents(Component[], Arrangement[])
Declaration
public ErrorList UnsuppressComponents(Component[] components, Arrangement[] arrangements)
Parameters
Returns
Implements
System.Runtime.Remoting.Messaging.IMessageSink