AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::ComponentManager类 参考

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.

参数
typeUUIDthe GUID of the type.
typeTableNamethe table name.
返回
the type ids.
String AnyCAD::API::ComponentManager::GetPlaceMethod ( ) const

Get the place method.

返回
the method.
ElementId AnyCAD::API::ComponentManager::LoadComponent ( const Path fileName)

Load the component (part, assembly) to document from file.

参数
fileNamethe full path name.
返回
the component type id.
void AnyCAD::API::ComponentManager::SetDocument ( const Document document)

Set the host document.

参数
documentthe Document.

该类的文档由以下文件生成: