The helper class to load component. 更多...
#include <APIComponentManager.h>
Public 成员函数 | |
void | SetDocument (const Document &document) |
ElementId | LoadComponent (const Path &fileName) |
String | GetPlaceMethod () const |
ElementIdSet | FindComponentType (const String &typeUUID, const String &typeTableName) const |
The helper class to load component.
TODO:
ElementIdSet AnyCAD::API::ComponentManager::FindComponentType | ( | const String & | typeUUID, |
const String & | typeTableName | ||
) | const |
Find the component by UUID.
typeUUID | the GUID of the type. |
typeTableName | the table name. |
String AnyCAD::API::ComponentManager::GetPlaceMethod | ( | ) | const |
Get the place method.
Load the component (part, assembly) to document from file.
fileName | the full path name. |
void AnyCAD::API::ComponentManager::SetDocument | ( | const Document & | document | ) |
Set the host document.
document | the Document. |