gubbala.satish
New member
We are building an interactive drawing paper size changer through Forms from VBA.
Is it possible select our own standard xml file (KK_STANDARD.xml). In this xml file we have the non-standard paper sizes.
We changed few comments in our macro as shown below but unfortunately unable to read our standard file.
###############################
Set drawingDocument1 = CATIA.ActiveDocument
Set drawingSheets1 = drawingDocument1.Sheets
Set drawingSheet1 = drawingSheets1.Item(1)
CATIA.ActiveDocument.Standard = KK_STANDARD
drawingSheet1.PaperSize = R0
############################
Please let me know how to get our own standard xml file & paper size through macros.
Is it possible select our own standard xml file (KK_STANDARD.xml). In this xml file we have the non-standard paper sizes.
We changed few comments in our macro as shown below but unfortunately unable to read our standard file.
###############################
Set drawingDocument1 = CATIA.ActiveDocument
Set drawingSheets1 = drawingDocument1.Sheets
Set drawingSheet1 = drawingSheets1.Item(1)
CATIA.ActiveDocument.Standard = KK_STANDARD
drawingSheet1.PaperSize = R0
############################
Please let me know how to get our own standard xml file & paper size through macros.