组件定义集合
更多...
#include <Layout2d_ComponentDefinitionCollection.hxx>
|
| iterator | begin () |
| void | Delete (NXOpen::Layout2d::Layout2dDefinitionLocation location, const char *definitionPath) |
| void | Delete (NXOpen::Layout2d::Layout2dDefinitionLocation location, const NXString &definitionPath) |
| iterator | end () |
| NXOpen::Layout2d::ComponentDefinition * | FindObject (const char *sid) |
| NXOpen::Layout2d::ComponentDefinition * | FindObject (const NXString &sid) |
| void | RefreshAllReferences () |
| void | Rename (NXOpen::Layout2d::Layout2dDefinitionLocation location, const char *definitionPath, const char *newName) |
| void | Rename (NXOpen::Layout2d::Layout2dDefinitionLocation location, const NXString &definitionPath, const NXString &newName) |
| void | SetAutomaticPreview (NXOpen::Layout2d::Layout2dDefinitionLocation location, const char *definitionPath, bool isAutomatic) |
| void | SetAutomaticPreview (NXOpen::Layout2d::Layout2dDefinitionLocation location, const NXString &definitionPath, bool isAutomatic) |
| tag_t | Tag () const |
| void | Update (NXOpen::Layout2d::Layout2dDefinitionLocation location, const char *definitionPath) |
| void | Update (NXOpen::Layout2d::Layout2dDefinitionLocation location, const NXString &definitionPath) |
| void | UpdateImage (NXOpen::Layout2d::Layout2dDefinitionLocation location, const char *definitionPath, const char *imagePath) |
| void | UpdateImage (NXOpen::Layout2d::Layout2dDefinitionLocation location, const NXString &definitionPath, const NXString &imagePath) |
◆ begin()
| iterator NXOpen::Layout2d::ComponentDefinitionCollection::begin |
( |
| ) |
|
◆ Delete() [1/2]
删除定义
创建于NX11.0.0。
许可证要求:nx_layout("NX Layout")
- 参数
-
| location | 要删除的定义的位置 |
| definitionPath | 要删除的定义的路径 |
◆ Delete() [2/2]
删除定义
创建于NX11.0.0。
许可证要求:nx_layout("NX Layout")
- 参数
-
| location | 要删除的定义的位置 |
| definitionPath | 要删除的定义的路径 |
◆ end()
| iterator NXOpen::Layout2d::ComponentDefinitionCollection::end |
( |
| ) |
|
|
inline |
◆ FindObject() [1/2]
◆ FindObject() [2/2]
◆ RefreshAllReferences()
| void NXOpen::Layout2d::ComponentDefinitionCollection::RefreshAllReferences |
( |
| ) |
|
刷新部件中所有定义引用以获取组件的实际过时状态
创建于NX12.0.0。
许可要求: nx_layout ("NX Layout")
◆ Rename() [1/2]
重命名定义
创建于NX11.0.0。
许可证要求:nx_layout("NX Layout")
- 参数
-
| location | 要重命名的定义的位置 |
| definitionPath | 要重命名的定义的路径 |
| newName | 新的定义名称 |
◆ Rename() [2/2]
重命名定义
创建于NX11.0.0。
许可证要求:nx_layout("NX Layout")
- 参数
-
| location | 要重命名的定义的位置 |
| definitionPath | 要重命名的定义的路径 |
| newName | 新的定义名称 |
◆ SetAutomaticPreview() [1/2]
设置给定路径的定义的自动预览模式
创建于NX11.0.0。
许可要求: nx_layout ("NX Layout")
- 参数
-
| location | 待设置预览模式的定义位置 |
| definitionPath | 待设置预览模式的定义路径 |
| isAutomatic | 是否自动 |
◆ SetAutomaticPreview() [2/2]
设置给定路径的定义的自动预览模式
创建于NX11.0.0。
许可要求: nx_layout ("NX Layout")
- 参数
-
| location | 待设置预览模式的定义位置 |
| definitionPath | 待设置预览模式的定义路径 |
| isAutomatic | 是否自动 |
◆ Tag()
| tag_t NXOpen::Layout2d::ComponentDefinitionCollection::Tag |
( |
| ) |
const |
◆ Update() [1/2]
更新给定路径的定义
创建于NX11.0.0。
许可要求: nx_layout ("NX Layout")
- 参数
-
| location | 待更新的定义位置 |
| definitionPath | 待更新的定义路径 |
◆ Update() [2/2]
更新给定路径的定义
创建于NX11.0.0。
许可要求: nx_layout ("NX Layout")
- 参数
-
| location | 待更新的定义位置 |
| definitionPath | 待更新的定义路径 |
◆ UpdateImage() [1/2]
更新定义预览
创建于NX11.0.0。
许可要求: nx_layout ("NX Layout")
- 参数
-
| location | 待更新预览的定义位置 |
| definitionPath | 待更新预览的定义路径 |
| imagePath | 用于更新定义预览的图像文件路径 |
◆ UpdateImage() [2/2]
更新定义预览
创建于NX11.0.0。
许可证要求:nx_layout("NX Layout")
- 参数
-
| location | 要更新图像的定义的位置 |
| definitionPath | 要更新图像的定义的路径 |
| imagePath | 用于更新定义预览的图像文件路径 |