Automat Bricscad V9

Hello everybody,I use ActiveX automation through Perl-Programming-Language to work with Bricscad V7 which works fine.I use the following Command get an Bricscad-Object:

my $objCad = Win32::OLE->new("icad.Application")

Where the part "icad.Application" is the importand string. Now I'd like to move to Bricscad V9 and found out that "icad.Application" is not working anymore. Can anybody tell me what to type instead?Thanks Helmut

Comments

  • Try something like (“Bricscad.Application“)

  • thanks for your reply ...I tried that before as i did with Acad.Application, AcadApplication, acad.Application and so forth - I tired it with vba aswell to no success ...

  • This works in VBA V9:

    Dim objBApp As BricscadApp.AcadApplicationSet objBApp = BricscadApp.AcadApplicationMsgBox objBApp.ActiveDocument.Application.Name
  • Thanks for the correction John, glad to see you over here ; )

  • Thank you very much - that does it!

This discussion has been closed.