Library | Package Java Toolkit

Interface ComponentPath

package com.ptc.pfc.pfcAssembly;

public interface ComponentPath
  extends com.ptc.pfc.pfcObject.Object



Description

This class identifies and locates a component within an assembly.
Direct Known Subclasses:
WComponentPath



Method Summary
intseqGetComponentIds ()
    Get method for attribute "ComponentIds"
    The path from the root assembly to the component through various subassembliescontaining this component. Each element of this sequence is an identifierof a component feature in its parent assembly.
booleanGetIsVisible ( /*optional*/ SimpRep InRep)
    Returns a flag indicating whether a given component is visible in a simplified representation.
SolidGetLeaf ()
    Get method for attribute "Leaf"
    The model associated with the component the path points to
AssemblyGetRoot ()
    Get method for attribute "Root"
    The root assembly
Transform3DGetTransform (boolean BottomUp)
    Retrieves the transformation matrix from the coordinate system of the root assemby to the coordinate system of the model pointed to by the component path, or from the coordinate system of the model to the coordinate system of the root assembly.
voidSetComponentIds (intseq value)
    Set method for attribute "ComponentIds"
    The path from the root assembly to the component through various subassembliescontaining this component. Each element of this sequence is an identifierof a component feature in its parent assembly.
voidSetRoot (Assembly value)
    Set method for attribute "Root"
    The root assembly
voidSetTransform (boolean BottomUp, Transform3D position)
    Sets the position of the component described by the component path.

Method Detail

GetRoot/SetRoot

AssemblyGetRoot ()
voidSetRoot (Assembly value)


    The root assembly
Manual References:
Solid: Getting a Solid Object, Solid: Getting a Solid Object, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information



GetComponentIds/SetComponentIds

intseqGetComponentIds ()
voidSetComponentIds (intseq value)


    The path from the root assembly to the component through various subassembliescontaining this component. Each element of this sequence is an identifierof a component feature in its parent assembly.
Manual References:
Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information



GetLeaf

SolidGetLeaf ()


    The model associated with the component the path points to
Manual References:
Solid: Getting a Solid Object, Solid: Getting a Solid Object, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information



GetTransform

Transform3DGetTransform (boolean BottomUp)


    Retrieves the transformation matrix from the coordinate system of the root assemby to the coordinate system of the model pointed to by the component path, or from the coordinate system of the model to the coordinate system of the root assembly.
Manual References:
Windows and Views: Transformations, Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information
Parameters:
BottomUp
If you request the transformation from the model to theassembly, this is true. Otherwise, this is false.
Returns:
The transformation matrix


SetTransform

voidSetTransform (boolean BottomUp, Transform3D position)


    Sets the position of the component described by the component path.

The component will be temporarily moved to the new location without affecting its constraints or actual position. Takes effect only when the assembly is using DynamicPositioning.
See Also:
Assembly
Manual References:
Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information
Parameters:
BottomUp
true if the transformation is from the member to the assembly, false if the transformation is from the assembly to the member.
position
The location of the member with respect to the root assembly.
Returns:


GetIsVisible

booleanGetIsVisible ( /*optional*/ SimpRep InRep)


    Returns a flag indicating whether a given component is visible in a simplified representation.

Exceptions thrown (but not limited to):

XToolkitBadContext - The assembly is in the master representation.


Manual References:
Assemblies and Components: Component Path Information, Assemblies and Components: Component Path Information
Parameters:
InRep
The simplfied representation, or null, to use the active representation.
Returns:
true if the component is visible, false otherwise.