I use the following lisp to navigate through my toolpalettes
(command "*_TOOLPALETTEPATH" "C:/path/to/My/atc/file")
Is it however possible to do this using a macro instead?
Thanks-
@pendean wrote:
Are you an LT user, or wish to do so for an LT user?
The OP clearly states that they use the above LISP... Besides, what does that even matter, given the question?
Macro:
^C^C*_TOOLPALETTEPATH;"C:/path/to/My/atc/file";
"How we think determines what we do, and what we do determines what we get."
Nope its not for lt, its for a vb.net program. the marcro will help prevent the user having to restart the autocad program when changes are made.
if done as a lisp the autocad program needs to restart the system to reload the lisp 🙂
@The_Caddie wrote:Nope its not for lt, its for a vb.net program. the marcro will help prevent the user having to restart the autocad program when changes are made.
if done as a lisp the autocad program needs to restart the system to reload the lisp 🙂
No... It doesn't have to... It just needs to call LOAD on said LISP file to reload the code.
"How we think determines what we do, and what we do determines what we get."
@pendean wrote:
You don't need to know: get over it 🙂
@pendean wrote:
There is no lisp file: see original post and code shared, and need from the OP http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/lisp-function-as-macro/m-p/3935407#M3...
I'm going to disregard your juvenile response this time, as I think you're confused, pendean.
Firstly, there's LISP code in the original post of this thread (which the OP said they use in a Tool Palette), and your initial post is to ask about LT?
AutoCAD LT doesn't support LISP, nor VB.NET which the OP clearly stated this is for in the link you just posted.
@ The_Caddie -
Your inquiry may be better suited for the .NET Forum instead.
You see there's no need for LISP, or Macro at all if you're using .NET API, as you could instead easily use a SendStringToExecute() call within your custom CommandMethod, or Tool Palette Control's Button Object's Click event(s). *Going from memory*
"How we think determines what we do, and what we do determines what we get."
@BlackBoxCAD wrote:Firstly, there's LISP code in the original post of this thread (which the OP said they use in a Tool Palette)...
Correction... The OP said they ''use the [abovementioned] lisp to navigate through [their] toolpalettes."
Like a wise man once taught me... I prefer clarity to agreement.
Separately, it would be great if users could actually modify their posts, to correct typos, etc. beyond the +/-2 minutes after their post (like every other CAD Forum allows)... You can do better, Autodesk, I believe in you.
"How we think determines what we do, and what we do determines what we get."
@BlackBoxCAD wrote:Separately, it would be great if users could actually modify their posts, to correct typos, etc. beyond the +/-2 minutes after their post (like every other CAD Forum allows)... You can do better, Autodesk, I believe in you.
Good luck with that BlackBox, Been there, done that. 😄
Maybe you'll have more influence than the rest of us. Perhaps more nagging form the forum members and the moderators will finally give-in somehow.
pBe
@pbejse wrote:
@BlackBoxCAD wrote:Separately, it would be great if users could actually modify their posts, to correct typos, etc. beyond the +/-2 minutes after their post (like every other CAD Forum allows)... You can do better, Autodesk, I believe in you.
Good luck with that BlackBox, Been there, done that. 😄
Maybe you'll have more influence than the rest of us. Perhaps more nagging form the forum members and the moderators will finally give-in somehow.
pBe
Off-topic
I fully agree!
Cheers
Henrique
@pbejse wrote:
@BlackBoxCAD wrote:Separately, it would be great if users could actually modify their posts, to correct typos, etc. beyond the +/-2 minutes after their post (like every other CAD Forum allows)... You can do better, Autodesk, I believe in you.
Good luck with that BlackBox, Been there, done that. 😄
Maybe you'll have more influence than the rest of us. Perhaps more nagging form the forum members and the moderators will finally give-in somehow.
pBe
More influence than the Expert Elite... And just why would you think something like that?
I'm just a newbie.
"How we think determines what we do, and what we do determines what we get."
My apologies to The_Caddie; hopefully a moderator can split this unintended tangent into a separate thread.
That is all... Carry on.
*Heads down range to draw fire*
"How we think determines what we do, and what we do determines what we get."