Library | File

Class wfcAssemblyItemInstructions

# include <wfcComponentFeat.h>

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



Description

The instructions to create an variant item for Flexible component definition.



Method Summary

static wfcAssemblyItemInstructions_ptrCreate (pfcModel_ptr ItemOwner, optional pfcModelItemType ItemType, xint ItemId)
Creates the AssemblyItemInstructions object.
optional wfcWComponentPath_ptrGetItemCompPath ()
voidSetItemCompPath (optional wfcWComponentPath_ptr value)
The item component path.
xintGetItemId ()
voidSetItemId (xint value)
The item identifier
optional xstringGetItemName ()
voidSetItemName (optional xrstring value)
Parameter Name
pfcModel_ptrGetItemOwner ()
voidSetItemOwner (pfcModel_ptr value)
The model owner of the item or parameter.
pfcModelItemTypeGetItemType ()
voidSetItemType (pfcModelItemType value)
The item type. In case of parameter pass type of owner modelitem. For model Parameter pass this as pfcModelItemType_nil.



Method Detail

pfcModel_ptrGetItemOwner ()
voidSetItemOwner (pfcModel_ptr value)

The model owner of the item or parameter.
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components




pfcModelItemTypeGetItemType ()
voidSetItemType (pfcModelItemType value)

The item type. In case of parameter pass type of owner modelitem. For model Parameter pass this as pfcModelItemType_nil.
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components




xintGetItemId ()
voidSetItemId (xint value)

The item identifier
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components




optional xstringGetItemName ()
voidSetItemName (optional xrstring value)

Parameter Name
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components




optional wfcWComponentPath_ptrGetItemCompPath ()
voidSetItemCompPath (optional wfcWComponentPath_ptr value)

The item component path.

To set a component as flexible, the path of this 'assembly item' should not contain the ID of a component which is: a) out of flexible context, b) to be made flexible.
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components




static wfcAssemblyItemInstructions_ptrCreate (pfcModel_ptr ItemOwner, optional pfcModelItemType ItemType, xint ItemId)

Creates the AssemblyItemInstructions object.
Manual References:
Assemblies and Components: Variant Items for Flexible Components, Assemblies and Components: Variant Items for Flexible Components
Parameters:
ItemOwner
The model owner of the item
ItemType
The item type
ItemId
The item identifier
Returns:
The AssemblyItemInstructions object.