Interface ICamApiModelFormerWithFixtures
Model former mixin for mftFixtures (TFixturesFormer).
Provides factory methods to add common fixture component types.
Each method creates the standard component sub-tree and returns its root connector item.
Assembly: CAMAPI.ModelFormerTypes.dll
[Guid("7E5FA8B9-C0D1-4234-E5F6-A7B8C9D0E1F2")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiModelFormerWithFixtures
Properties
Number of ready-made fixture components available in the fixtures library
Declaration
int LibraryComponentCount { get; }
Property Value
Declaration
string LibraryComponentFile[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
Methods
Add a chuck (spindle clamping device) with body and jaw axes
Declaration
ICamApiFixtureConnectorItem AddChuck()
Returns
Add a clamp with a body axis
Declaration
ICamApiFixtureConnectorItem AddClamp()
Returns
Add the currently selected geometry faces to the fixtures tree, mirroring the
"Add faces" button: uses the current fixture selection or auto-creates a node. Returns the
added face items.
Declaration
ICamApiListModelItem AddFacesSelected()
Returns
Declaration
ICamApiFixtureNodeItem AddNode()
Returns
Add a vise with body and jaw axes
Declaration
ICamApiFixtureConnectorItem AddVise()
Returns
Delete the first fixture item whose Caption matches, mirroring the "Delete" button /
context menu on the Fixtures tab. Returns true if an item was found and removed.
Declaration
bool DeleteItemByCaption(string Caption)
Parameters
| Type |
Name |
Description |
| string |
Caption |
|
Returns
Find a connector item by its caption; returns nil if not found
Declaration
ICamApiFixtureConnectorItem FindConnector(string Caption)
Parameters
| Type |
Name |
Description |
| string |
Caption |
|
Returns
Import a ready-made fixture component from a .mcp package — the same action as picking an
item in the fixtures library. Builds the whole component sub-tree (connector, component,
body and jaw axes with their captions, axis directions and travel limits) from the package
and loads its geometry into a hidden "Fixture model" folder of the geometry tree.
FileName is either a full path or a file name resolved against the fixtures library folder.
Returns the created root connector item, or nil if the package was not found.
Declaration
ICamApiFixtureConnectorItem ImportComponentFromFile(string FileName)
Parameters
| Type |
Name |
Description |
| string |
FileName |
|
Returns