.NET

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

DIESEL Menu Command for .Net Command Loading

199 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
Posts: 71
Registered: ‎08-13-2008
Message 2 of 4 (171 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,346
Registered: ‎04-09-2008
Message 3 of 4 (157 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
Posts: 71
Registered: ‎08-13-2008
Message 4 of 4 (147 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:

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community