.NET

Reply
Valued Contributor
GrzesiekGP
Posts: 67
Registered: ‎02-03-2012
Message 1 of 2 (210 Views)

SendStringToExecute and command "ScaleListEdit"

210 Views, 1 Replies
12-04-2012 04:10 AM

Hello!

I would like to execute scalelistedit command with auto added parameters (Reset - Yes - Exit).

 

My code:

doc.SendStringToExecute("-scalelistedit R " + "\r" + "Y" + "\r" + "E", true, false, false);

 

And doesnt work - I'm getting "Invalid option" and it seems like instead of R, passing is A option (Add).

 

Thanks.

Moderator
Alexander.Rivilis
Posts: 1,449
Registered: ‎04-09-2008
Message 2 of 2 (203 Views)

Re: SendStringToExecute and command "ScaleListEdit"

12-04-2012 05:03 AM in reply to: GrzesiekGP
doc.SendStringToExecute("_-ScaleListEdit _R _Y _E ", true, false, false);

 


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!