如何在catiav5中用Python-wincomapi打开生成式外形设计工作台

2024-05-15 08:31:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我在catiav5中使用pypiwin32pythonapi来尝试在曲面上执行一些操作,这些操作在generativeshapedesignworkbench中。我正在引用我在打开分析工作台时发现的here代码片段。你知道吗

# Activate the Generative Structural Analysis (GPS) Workbench
PartDoc=CATIA.ActiveDocument
CATIA.StartWorkbench ("GPSCfg")
CATIA.ActiveDocument.Analysis.Import(PartDoc)

我试着把StartWorkBench方法的论点改为“GSD”和“生成性形状设计”。“GPSCfg”代表什么?如何使用这个API打开并与Generative Shape Design workbench交互?你知道吗


Tags: the代码hereanalysisactivate曲面工作台catia