Catscript: Generative Sheet Metal Design
Catscript: Generative Sheet Metal Design
(OP)
Is it possible to use VBA script for the tools in the generative sheet metal design workbench? I've created a number of pads that I'd like to recognize as sheet metal parts, incorporate bends, and then unfold. However, based on my searching, it seems like the GSMD workbench tools cannot be scripted. I'm using V5R18. Any help would be appreciated.





RE: Catscript: Generative Sheet Metal Design
RE: Catscript: Generative Sheet Metal Design
o Property SheetMetalFactory( ) As CATIAFactory (Read Only)
Returns the sheet metal factory of the part. It allows the creation of sheet metal elements in the part.
Example:
The following example returns in sheetMetalFact the sheet metal factory of the partRoot part from the partDoc part document:
Set partRoot = partDoc.Part
Dim sheetMetalFact As Factory
Set sheetMetalFact = partRoot.SheetMetalFactory
However, I can't seem to find any methods associated with a sheetmetalfactory and when I attempt to record macros for adding bends I get "No resolution found for the object bend1..."
So, that's where I'm stuck. Thanks in advance for any tips.
RE: Catscript: Generative Sheet Metal Design