.NET

Reply
Member
4 Posts
0 Kudos
Registered: ‎04-23-2013
Post 1 of 4

Get input from command line

174 Views, 3 Replies
09-30-2013 12:02 PM

I am writing a API in .NET. I can send commands to the AutoCAd command line using the sendCommand feature but can i access the result returned too? I am not able to find the right class/function the redirect the command result back to my API

*Expert Elite*
5,743 Posts
501 Kudos
Registered: ‎10-12-2006
Post 2 of 4

Re: Get input from command line

09-30-2013 03:14 PM in reply to: jain.diptee

Which commands are you sending, and what are you expecting to get back from them?

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Member
4 Posts
0 Kudos
Registered: ‎04-23-2013
Post 3 of 4

Re: Get input from command line

09-30-2013 03:18 PM in reply to: jain.diptee

I want to use the command gstestbenchmark or gsbcurrent and get the results returned by autocad into my API

*Expert Elite*
5,743 Posts
501 Kudos
Registered: ‎10-12-2006
Post 4 of 4

Re: Get input from command line

09-30-2013 03:58 PM in reply to: jain.diptee

Where functions are designed to produce consumeable information they aren't called through the command line.  You could temporarily call up a log file and read it afterwards.  But I'd be cautious about real-world consumption of benchmarking stats.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.


Post to the Community

Have questions about Autodesk products? Ask the community.

New Post