Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AccoreConsole CommandMethod and UserInput

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
411 Views, 1 Reply

AccoreConsole CommandMethod and UserInput

Hi all, similar to how one can write a custom CommandMethod in C# and receive string inputs using PromptStringOptions and the editor. 

 

Is it possible to do something similar using AccoreConsole and maybe using a script? Or define a CommandMethod that can take arguments?

 

Something like:

 

SECURELOAD 1
NETLOAD
"C:\CustomFolder\CustomACADLib.dll"
testMethod

"inputForPromptInTestMethod1"

"inputForPromptInTestMethod2"
_.QUIT

 

Thank you!

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Doh, figured out my test code wasn't working due to having to restart VS. Found I can still use the Editor object to prompt inputs and feed them through the script. 

 

Sorry and thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report