cisradu
Mechanical
- Nov 11, 2014
- 1
Hello,
I would like to create a macro which is scanning my part details(part number,nomenclature,revision) from manufacturing and than to have the info in to a template file (html).I recorded a macro for one file for this is k ,but for another new part...
Language="VBSCRIPT"
Sub CATMain()
Dim documents1 As Documents
Set documents1 = CATIA.Documents
Dim partDocument1 As Document
Set partDocument1 = documents1.Item("TestPP.CATPart")
Dim product1 As CATBaseDispatch
Set product1 = partDocument1.GetItem("Part1")
aTextStream.Write " <p class=MsoNormal><b>TEST : " & product1.Definition & "</b></p>" & EOL
End Sub