Library | File

Class pfcComponentConstraint

# include <pfcComponentFeat.h>

class pfcComponentConstraint
 : public virtual xobject
{
    xdeclare(pfcComponentConstraint)
    ...
};
This is a COMPACT class.



Description

This interface represents a component constraint.



Method Summary

static pfcComponentConstraint_ptrCreate (pfcComponentConstraintType Type)
Creates a new component constraint object.
optional pfcDatumSideGetAssemblyDatumSide ()
voidSetAssemblyDatumSide (optional pfcDatumSide value)
The datum plane side, if the AssemblyReference is a datum plane.
optional pfcSelection_ptrGetAssemblyReference ()
voidSetAssemblyReference (optional pfcSelection_ptr value)
The geometric reference from the assembly. This reference must be created using an assembly component path. Use null for constraint types not requiring a component reference.
optional pfcConstraintAttributes_ptrGetAttributes ()
voidSetAttributes (optional pfcConstraintAttributes_ptr value)
Constraint related attributed. Use null for the default settings.
optional pfcDatumSideGetComponentDatumSide ()
voidSetComponentDatumSide (optional pfcDatumSide value)
The datum plane side, if the ComponentReference is a datum plane.
optional pfcSelection_ptrGetComponentReference ()
voidSetComponentReference (optional pfcSelection_ptr value)
The geometric reference on the component. Use null for constraint types not requiring a component reference.
optional xrealGetOffset ()
voidSetOffset (optional xreal value)
The offset value, if appropriate to the constraint type. Use null to represent a 0.0 value, or for constraint types not requiring an offset.
pfcComponentConstraintTypeGetType ()
voidSetType (pfcComponentConstraintType value)
The type of constraint.
optional xstringGetUserDefinedData ()
voidSetUserDefinedData (optional xrstring value)
A user created string stored with the constraint. Typically null.



Method Detail

pfcComponentConstraintTypeGetType ()
voidSetType (pfcComponentConstraintType value)

The type of constraint.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional pfcSelection_ptrGetAssemblyReference ()
voidSetAssemblyReference (optional pfcSelection_ptr value)

The geometric reference from the assembly. This reference must be created using an assembly component path. Use null for constraint types not requiring a component reference.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional pfcDatumSideGetAssemblyDatumSide ()
voidSetAssemblyDatumSide (optional pfcDatumSide value)

The datum plane side, if the AssemblyReference is a datum plane.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional pfcSelection_ptrGetComponentReference ()
voidSetComponentReference (optional pfcSelection_ptr value)

The geometric reference on the component. Use null for constraint types not requiring a component reference.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional pfcDatumSideGetComponentDatumSide ()
voidSetComponentDatumSide (optional pfcDatumSide value)

The datum plane side, if the ComponentReference is a datum plane.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional xrealGetOffset ()
voidSetOffset (optional xreal value)

The offset value, if appropriate to the constraint type. Use null to represent a 0.0 value, or for constraint types not requiring an offset.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional pfcConstraintAttributes_ptrGetAttributes ()
voidSetAttributes (optional pfcConstraintAttributes_ptr value)

Constraint related attributed. Use null for the default settings.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




optional xstringGetUserDefinedData ()
voidSetUserDefinedData (optional xrstring value)

A user created string stored with the constraint. Typically null.
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically




static pfcComponentConstraint_ptrCreate (pfcComponentConstraintType Type)

Creates a new component constraint object.
See Also:
pfcComponentFeat::SetConstraints(optional pfcComponentConstraints_ptr, optional pfcComponentPath_ptr)
Manual References:
Assemblies and Components: Assembling a Component Parametrically, Assemblies and Components: Assembling a Component Parametrically
Parameters:
Type
The type of constraint.
Returns:
The new component constraint object.