.NET

.NET

Reply
Valued Contributor
bjhuffine
Posts: 81
Registered: ‎08-13-2008
Message 1 of 4 (243 Views)
Accepted Solution

DIESEL Menu Command for .Net Command Loading

243 Views, 3 Replies
04-23-2012 12:39 PM

I'm trying to figure out how to create a DIESEL menu command that will check whether or not a .Net command exists.  If so, then run the command, if not run the netload command and then run it.  I'm trying to not netload it every single time the user runs the menu item.  Once loaded, I want to leave it loaded.  In fact, this particular .Net application automatically sets the registry up for demand loading.  So it only needs to run the netload the user's first time running. 

 

Does anyone know how to do this?  Any help much appreciated....

DIESEL can not help you. Lisp function (getcname "CommandName") can help you. It it return nil - dll-file which define command "CommandName" is not loaded.

Valued Contributor
bjhuffine
Posts: 81
Registered: ‎08-13-2008
Message 2 of 4 (215 Views)

Re: DIESEL Menu Command for .Net Command Loading

04-25-2012 01:56 PM in reply to: bjhuffine

Is anyone interested in helping with this?  I didn't see any forums (unless I've overlooked them somewhere) for this... any help would be appreciated. 

Moderator
Alexander.Rivilis
Posts: 1,458
Registered: ‎04-09-2008
Message 3 of 4 (201 Views)

Re: DIESEL Menu Command for .Net Command Loading

04-25-2012 10:36 PM in reply to: bjhuffine

DIESEL can not help you. Lisp function (getcname "CommandName") can help you. It it return nil - dll-file which define command "CommandName" is not loaded.


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

Valued Contributor
bjhuffine
Posts: 81
Registered: ‎08-13-2008
Message 4 of 4 (191 Views)

Re: DIESEL Menu Command for .Net Command Loading

04-26-2012 06:01 AM in reply to: Alexander.Rivilis

Great little command for this!  Worked like a charm.  Thank you! :smileyhappy:

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.