Hi,
I wanted to start copying pages by automation.
Ther is an example where you can create a SringList needed as parameter for
viewDrawApp.SchematicSheetDocuments.CopyToClipboard
So I would like to ask why last line in
Set viewDrawApp = Application
Set sheetsCollection = Application.SchematicSheetDocuments()
set docObject = sheetsCollection.Open("flat", "001")
MsgBox "Page Open"
set pathFrom = CreateObject("ViewDraw.StringList")
It returns an error ActiveX-Component can not create an Object: "ViewDrwa.StringList".
Also I would like to know, how the string list should look like.
Kind regards,
Andreas
Hi Andreas,
CreateObject("ViewDraw.StringList") should work properly, maybe you have a typo or incorrect quote character?
The DxDesigner Automation Reference Manual has an example script showing how the from/to lists should be defined.
John