.NET

.NET

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

DIESEL Menu Command for .Net Command Loading

235 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....

Valued Contributor
bjhuffine
Posts: 76
Registered: ‎08-13-2008
Message 2 of 4 (207 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,406
Registered: ‎04-09-2008
Message 3 of 4 (193 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: 76
Registered: ‎08-13-2008
Message 4 of 4 (183 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:

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.