.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Echo command name on netload.

2 REPLIES 2
Reply
Message 1 of 3
BillZndl
307 Views, 2 Replies

Echo command name on netload.

Is there a way to echo the [CommandMethod("command name")]
to the commandline when a dll is netloaded?

>namespace ActiveUCSChange
>{
>public class UCSChange
>{
>[CommandMethod("UCSX90")]
>
>public static void RotateUCS()
>{
>UCSChange ucsc = new UCSChange();
>ucsc.NewUCS();
>}
>
>public void NewUCS()
>{


Bill
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: BillZndl

You can write whatever you want to command line from an
IExtensionApplication's Initialize() method, which is called
automatically by AutoCAD when your assembly is loaded.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6252108@discussion.autodesk.com...
Is there a way to echo the [CommandMethod("command name")]
to the commandline when a dll is netloaded?

>namespace ActiveUCSChange
>{
>public class UCSChange
>{
>[CommandMethod("UCSX90")]
>
>public static void RotateUCS()
>{
>UCSChange ucsc = new UCSChange();
>ucsc.NewUCS();
>}
>
>public void NewUCS()
>{


Bill
Message 3 of 3
BillZndl
in reply to: BillZndl

Thanks!

http://through-the-interface.typepad.com/through_the_interface/2006/09/initialization_.html

Bill

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost