Ok, that works great!.
Just so I understand, (if start's the if function.
(not is telling the if statement that if the answer coming back from
"menugroup" is not equal to itself, go on and do progn.
You need progn because we are doing two things.
1 is loading the menu, then second item is then setting the pull down menu.
Ok, another obstacle.
In AutoCad there is the variable, (Setenv
"MenuFile"
"I:\\autodesk\\ssoe\\autocad\\menu\\acad"
)
I want to pull the Acad.mnu from a network location and not the individual pc's. Would this be the best way to set this? or would it be best to just do it the same way. I tried it both ways and the "MenuFile" way doesn't seem to work very good.
So I am loading it
;;;Load the Acad Menu from the I:drive
(if (not (menugroup "acad"))
(progn
(command "menuload" "i:\\AutoDesk\\SSOE\\AutoCad\\menu\\acad.mnu")
)
)
Would I run into any problems?