I get an error I checked this a couple of times error: Automation Error. Invalid input
<snip>
*humm?*
I'm interested in the answer to Kerry's questions too.
This is how I have the code at the current time. I am missing something Once again thanks for the help
(vla-put-configname
;<snip>
"ME Assembly.pc3"
)
;; or
(vla-put-configname
;<snip>
"None"
)
Oh no problem at all; im just sorry I cant help more.
If youre running the code exactly as you show it, then we need to make at least one change.
Could you in addition to Kerry's questions could you run this snip of code for me please and let me know if you get the Automation Error again.
(vla-put-configname
(vla-get-layout
(vla-get-PaperSpace
(vla-get-ActiveDocument
(vlax-get-object "AutoCAD.Application")
)
)
)
"ME Assembly.pc3"
)
Kerry, do you think the space in the driver name would cause that error?