Author Topic: Dynamic Intelligent Leader !  (Read 178213 times)

0 Members and 2 Guests are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Dynamic Intelligent Leader !
« Reply #405 on: June 17, 2015, 06:02:51 PM »
If setenv/getenv works without admin rights you could use that to save the location of a config file.

still registry entry..
I know, but since it part of the current user section of the registry I thought it might work.

yes,...but the goal is that I need to make sure that all installation tool work for any user.
so by using SETENV, I'll need to setup this variable for each user logged to the same machine.

so by using C:\Users\Public\
with config file, will prevent that..

I hope.. :|
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Dynamic Intelligent Leader !
« Reply #406 on: June 17, 2015, 06:18:35 PM »
well,..in fact....if user do not have accèss to:
C:\Program Files\Autodesk\ApplicationPlugins

I'll need to install all in:
C:\Users\(user login)\AppData\Roaming\Autodesk\ApplicationPlugins

but this mean that soft will be available per user only.
Keep smile...

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Dynamic Intelligent Leader !
« Reply #407 on: June 18, 2015, 09:02:59 AM »
Can you use %allusersprofile% ?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Dynamic Intelligent Leader !
« Reply #408 on: June 21, 2015, 09:49:41 PM »
Can you use %allusersprofile% ?

the user do not have acces to it....:(
Keep smile...

ribarm

  • Gator
  • Posts: 3225
  • Marko Ribar, architect
Re: Dynamic Intelligent Leader !
« Reply #409 on: September 22, 2015, 09:01:58 AM »
Hi, just recently I've played with DiLeader and I've made some mods (look in archive)... It works fine with me and my mods of lisp...

HTH, I hope you don't mind Andrea...
Regards, M.R.

EDIT : You can change text size with TEXTSIZE variable... Also you can change arrow size with DIMASZ variable...
« Last Edit: October 01, 2015, 11:37:24 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Dynamic Intelligent Leader !
« Reply #410 on: September 22, 2015, 09:41:41 AM »
Thank you. :)

I'm happy that DiLEader is used. :)

Also,..DiLeader is now on Autodesk Apps Exchange.
and on my website at: http://www.ductisoft.com/dileader.html


Keep smile...

ribarm

  • Gator
  • Posts: 3225
  • Marko Ribar, architect
Re: Dynamic Intelligent Leader !
« Reply #411 on: September 25, 2015, 01:37:13 AM »
Thank you. :)

I'm happy that DiLEader is used. :)

Also,..DiLeader is now on Autodesk Apps Exchange.
and on my website at: http://www.ductisoft.com/dileader.html

Now that you posted links, I figured that I should remove your *.exe from my archive - it's the same... BTW. I've changed my version of *.lsp once again... Now DIMASZ also serves to arrowsize purpose... If you have some advices how to improve more I shell listen...

And THANK YOU Andrea...

Also worth of mention is that I don't want automatically loading reactors in my ACAD start session, so I've added this into my acaddoc.lsp

Code: [Select]
(if (vl-position "VLAX-GET-ACAD-OBJECT" (atoms-family 1)) (vlr-remove-all))
(if (findfile "dil-2013-2015.lsp") (load "dil-2013-2015.lsp") (load (getfiled "Select dil-2013-2015.lsp file" "\\" "lsp" 16)))

And my dil-2013-2015.lsp looks like this :

Code: [Select]
(defun c:dil nil
  (if (and (not (initget "Yes No")) (eq (getkword "\nDo you want to load Dileader.lsp with VLISP extensions [Yes/No] <No> : ") "Yes"))
    (progn
      (if (findfile "ObjectDCL.19.arx") (arxload "ObjectDCL.19.arx") (arxload (getfiled "Select ObjectDCL.19.arx file" "c:/Users/Public/DuctiSoft/ObjectDCL/Extension/" "arx" 16)))
      (if (findfile "Dileader.lsp") (load "Dileader.lsp") (load (getfiled "Select Dileader.lsp file" "c:/Users/Public/DuctiSoft/DiLeader/" "lsp" 16)))
    )
  )
  (princ)
)

So this is why I now call DiLeader when I want to use dynamic modifications with reactors with DIL command, and to use shortcut I've renamed inside DiLeader.lsp short command name from (c:DIL) to (c:DILL)...

Regards, and many thanks M.R.

Of course, my dil-2013-2015.lsp is placed in SFSP (SupportFileSearchPath) and I've added those new paths for DiLeader in SFSP (c:\Users\Public\DuctiSoft\Dileader\ ; c:\Users\Public\DuctiSoft\Dileader\Arrow ; c:\Users\Public\DuctiSoft\ObjectDCL\Extension\ )
« Last Edit: September 25, 2015, 01:43:08 AM by ribarm »
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

ribarm

  • Gator
  • Posts: 3225
  • Marko Ribar, architect
Re: Dynamic Intelligent Leader !
« Reply #412 on: September 25, 2015, 06:24:40 AM »
Just to mention, I've run to the same problem as sergiu... Look here :
http://www.cadtutor.net/forum/showthread.php?27634-Auto-dimesioning-polyline/page9&p=#85

And since this is connected to this topic and solved in my previous posted explanation, I thought it would be good to post a link...
(so now it's reverse linked)

M.R.
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Dynamic Intelligent Leader !
« Reply #413 on: September 25, 2015, 02:37:45 PM »
Hello M.R.

what about this version ? may you test ?
I've removed reactor on loading and use only on demand.

You can also write me an email beacuse i'm not always connected to theswamp unfortunatly. :)
Thank you for sharing these informations.
Keep smile...

ribarm

  • Gator
  • Posts: 3225
  • Marko Ribar, architect
Re: Dynamic Intelligent Leader !
« Reply #414 on: October 01, 2015, 12:53:42 PM »
Hi there, I've updated my zip archive, now explaining what was an issue during installation of DiLeader... Also, I've implemented into my version of lisp Andreas reactor loading on demand...
So finally, I am satisfied how it's installed now as it fulfills all my needs... The lisp is large, so I've figured that there is no need to auto initialize it as it will take very expensive memory for working during CAD session due to large function definitions... So I've figured out how to disable automatic loading and if you followed what I've explained in my previous post - Inserting line with load of dil-*-*.lsp into acaddoc.lsp and starting of load DiLeader with DIL command and afterwards using DiLeader with DILL command, I've also included prompt inside my version of lisp so that when it's called it will show message explaining how to activate-deactivate reactors on demand... So if you need DiLeader and still want to use it on smart way avoiding not adequate CAD initialization I suggest that you download my updated archive posted here :

http://www.theswamp.org/index.php?topic=29245.msg553128#msg553128

And read carefully what was written...

HTH, M.R.
Thanks Andrea...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube