TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on June 21, 2009, 09:27:43 PM
-
Hi all..
I need beta-tester for my new routine..
DILEADER v.1.0
(Dynamic Intelligent Leader)
Allow user to quickly put/tag some object.
Need comments on the idea and concept.
thanks.
There is Some animation...
(http://www.theswamp.org/screens/Andrea/DiLeader.gif)
(http://www.theswamp.org/screens/Andrea/DiLeader2.gif)
(http://www.theswamp.org/screens/Andrea/DiLeader3.gif)
Easy to use...you can put any DIL you want on a simple object.
You can edit the Text leader, Move , stretch...
The Leader is intelligent and know what Object is tagged.
so if it was moved, stretched,rotated etc...DIL will know and will readjust the leader on it.
;-)
-
Very Nice! :kewl:
I could learn a great deal from this program, thanks for posting Andrea. :-)
As an aside, may I ask what program you used to create the GIF images?
Thanks,
Lee
-
Fantastic tool sir! Thank you so much for sharing.
-
Thanks Guys....
LEE MAC..
I use THIS (http://www.theswamp.org/index.php?topic=27479.msg332078#msg332078)
;-)
-
Nice work Andrea!
After the Leader is created, using ACAD2000 & moving the text the leader is not updated. I know this is a function of ACAD but thought
the routine would account for it.
Moving the associated object from left to right does not change Left / Right attachment point to the text.
-
(setq DL_textsize (getvar "textsize"))
results in very small text size :(
suggest:
(setq DL_textsize (* (getvar "DIMSCALE") (getvar "DIMTXT")))
unless current dimension style has fixed text height, yada yada
-
Just a small one, but I would add a (princ) after (princ "\nDleader Finish."), to get rid of the "nil" return.
Oh, and it doesn't like Arcs too much :P
-
That's amazing.
Its just my curiosity, how long do you spent your time to make this DLEADER V.1.0? :-)
-
around
2 days to think on how I want the program run...
2 day conception and bug fix.
:roll:
-
DiLEADER 1.1
Dynamic Intelligent Leader
Update 1
I have replaced the DL_textsize variable to take the existing
DIMTXT when Updated and the DIMTXT against TEXTSIZE when created.
(setq DL_textsize (vla-get-Height (vlax-ename->vla-object TXTobj)))
(setq DL_textsize (getvar "DIMTXT"))
Update 2
I use vlax-curve-getClosestPointTo
against vla-intersectwith This modification show diffrent leader reaction...but work better.
Update 3
I also updated the code to put the Arrow size as per DIMASZ
(vla-put-ArrowheadSize (vlax-ename->vla-object Llead) (getvar "DIMASZ"))
Update 4
Left/Right justification text was improved when object as been updated.
Update 5
and finaly..
the "NOTE" in the Mtext still there when moving the mouse to show dinamicly a preview..
but it will be gone when picking the loccation text.
(entmod (subst (cons 1 "") (assoc 1 (entget Ltext)) (entget Ltext)))
Let me know if all work ok.
thanks.
CAB.
I need to install 2000 for test..
(http://www.theswamp.org/screens/Andrea/DiLeader4.gif)
-
Nice Andrea!
I was just reading through trying to find a way to set the Standard Dimstyle & text style to update key measurements according to dimscale from an autolisp function call. So far it is looking like an issue many have looked at with differing results.
-
Excellent Andrea - I thought you may opt for the vlax-curve-getClosestPointto... much better results with much less coding :wink:
-
Using 2008 here, and I don't get the same results. When I move the circle the leader does not follow.
Also the word NOTE becomes part of the text. And I can not get the leader and text to move inside the circle.
-
DiLEADER 1.2
Dynamic Intelligent Leader
Little Bug Fix
as Gif below....extension entity was removed.. ;-)
-
Using 2008 here, and I don't get the same results. When I move the circle the leader does not follow.
Also the word NOTE becomes part of the text. And I can not get the leader and text to move inside the circle.
Hi Gary.
eaven with 1.2 ?
-
oops, I didn't try that one. Yes it works. Thanks for sharing it.
However I have to move the circle using the circle's grip and not the move command for it to work dynamically.
-
Yes...I use only "GRIPS_xxx" reactor to allow user to move object and/or leader without remaking the leaders..
-
Ciao Andrea,
1st thing 1st, bravo, bravissimo. Very clever tool
Need comments on the idea and concept.
thanks.
One little issue though! When deleting the object the leader still exists, on other hand if deleting and undoing later on the connectivity is still established.
Pour ce qui est du nom, faudrait que tu saches qu'en anglais DIL ca veut dire qlq chose d'autre aussi :evil: :lmao:
-
Ciao Andrea,
1st thing 1st, bravo, bravissimo. Very clever tool
Need comments on the idea and concept.
thanks.
One little issue though! When deleting the object the leader still exists, on other hand if deleting and undoing later on the connectivity is still established.
Pour ce qui est du nom, faudrait que tu saches qu'en anglais DIL ca veut dire qlq chose d'autre aussi :evil: :lmao:
Hey Serge.. Thanks for your comments..
First..I have think about that "On ERASE" and remove the leader..but that need to detect leader and Mtext attached on it and delete it also...
so if user do UNDO...this need to create reactor to detect if ERASE is the last command, filter if it was an object attached by a DILEADER, Retreive all DiLeader associated with all coordinates, and undo all leader and MTEXT entity for this object..
at the end.....have an head hake. No thanks. ;-)
So leaving like this, allow user to draw Leader attached to an object and erase the object without remaking the leader if he need to keep it.
and like you have said....doing an Undo after deleting the object....the association still remain.
Pour le nom.. j'y avais aussi pensé....mais bon...ca fait jaser ! ;-)
-
Downloaded and played with it. I am probably doing something wrong so keep that in mind.
Also I am played with it on ACA 2010.
- First thing I notice is that the leader does not want to bend if stretched far frorm the object.
- Second thing was text style did not change when I change the text style.
- Third was when toggling ortho and polar on and off it left little droppings of "notes" at whatever the location it happen to be when toggled
- Fourth, when console break happen it left the leader and the note instead of deleting it.
- Fifth, was when a Dymanick block was slected the leader snap way off to the left.
- and Sixth, it messing with the settings of my quick view drawings pane. close the drawing and reopen and settings reset to as desired.
This will be really cool if you can get it to work
-
Just use an object modified reactor, and an object erased reactor, in conjuncture with a command ended reactor. That way you will update on any change. You can see how I did it in the post, and one a few posts down for the updated code.
[ http://www.theswamp.org/index.php?topic=8710.msg111442#msg111442 ]
If you want, you can read through the whole thread as Luis helped me a lot to understand reactors. Thanks again Luis. :-)
-
Just use an object modified reactor, and an object erased reactor, in conjuncture with a command ended reactor. That way you will update on any change. You can see how I did it in the post, and one a few posts down for the updated code.
[ http://www.theswamp.org/index.php?topic=8710.msg111442#msg111442 ]
If you want, you can read through the whole thread as Luis helped me a lot to understand reactors. Thanks again Luis. :-)
Yes, I would second this, to make the reactor a presistant reactor.
-
Hi krushert ..
thanks for your testing results. ;-)
Ok..after many test..
First thing I notice is that the leader does not want to bend if stretched far frorm the object.
Strange...I have no bug with that..How far you stretch it ?
Second thing was text style did not change when I change the text style.
Same thing....No problem changing the Textstyle....how did you change it ?
Third was when toggling ortho and polar on and off it left little droppings of "notes" at whatever the location it happen to be when toggled
?? I can't reproduce the problem..
Fourth, when console break happen it left the leader and the note instead of deleting it
OK..I'll fix that. thanks. ;-)
Fifth, was when a Dymanick block was slected the leader snap way off to the left.
Yep..I know...all block do same thing dynamic or not...I need to fix that also. thanks ;-)
and Sixth, it messing with the settings of my quick view drawings pane. close the drawing and reopen and settings reset to as desired.
I personally have many many Bug with this news AutoCAD feature....event WITHOUT using Dileader (simple AutoCAD Vanilla)
Sometime You will have same result when drawing a simple line.
This will be really cool if you can get it to work
...thanks. but need to have more info about your testing bugs.
Can you provide animated GIF or send me a drawing wo you have these bugs ?
Something who can Help me to resolve the problem ?..
Also,...It will be useful if some other tester have same problem please let me know.
This is the first release of DiLeader to know user's pulse...and it will be improved shortly.
thanks for all your comments, suggestions and bug reports. ;-)
-
(setq DL_textsize (getvar "textsize"))
results in very small text size :(
suggest:
(setq DL_textsize (* (getvar "DIMSCALE") (getvar "DIMTXT")))
unless current dimension style has fixed text height, yada yada
does dimscale do you any good when using annotative text?
-
(setq DL_textsize (getvar "textsize"))
results in very small text size :(
suggest:
(setq DL_textsize (* (getvar "DIMSCALE") (getvar "DIMTXT")))
unless current dimension style has fixed text height, yada yada
does dimscale do you any good when using annotative text?
Chris..
maybe you need to test the last Last release (http://www.theswamp.org/index.php?topic=29245.msg347882#msg347882)
;-)
-
You may want to check the annotation scale variable settings in 2010, they may be messing with the dileader setup.
(command "ANNOTATIVEDWG" 0) ; Specifies whether or not the drawing will behave as an annotative block when inserted into another drawing - 0 = False
; 0 Nonannotative
; 1 Annotative
; Note The ANNOTATIVEDWG system variable becomes read-only if the drawing contains annotative objects.
; (princ "\n")
(command "ANNOAUTOSCALE" -4)
; Updates annotative objects to support the annotation scale when the annotation scale is changed.
; When the value is negative, the autoscale functionality is turned off, but the settings are maintained:
; 1 Adds the newly set annotation scale to annotative objects that support the current scale except for those on layers that are turned off, frozen, locked or that are set to Viewport > Freeze.
; -1 ANNOAUTOSCALE is turned off, but when turned back on is set to 1.
; 2 Adds the newly set annotation scale to annotative objects that support the current scale except for those on layers that are turned off, frozen, or that are set to Viewport > Freeze.
; -2 ANNOAUTOSCALE is turned off, but when turned back on is set to 2.
; 3 Adds the newly set annotation scale to annotative objects that support the current scale except for those on layers that are locked.
; -3 ANNOAUTOSCALE is turned off, but when turned back on is set to 3.
; 4 Adds the newly set annotation scale to all annotative objects that support the current scale.
; -4 ANNOAUTOSCALE is turned off, but when turned back on is set to 4.
(command "ANNOALLVISIBLE" 1) ; Hides or displays annotative objects that do not support the current annotation scale.
; The ANNOALLVISIBLE setting is saved individually for model space and each layout.
; Note When ANNOALLVISIBLE is set to 1, annotative objects that support more than one scale will only display one scale representation.
; 0 Only annotative objects that support the current annotation scale are displayed
; 1 All annotative objects are displayed
-
You.r right !! i'll do it..
thanks :wink:
(I don't use annotative)
-
...thanks. but need to have more info about your testing bugs.
Can you provide animated GIF or send me a drawing wo you have these bugs ?
Something who can Help me to resolve the problem ?..
Also,...It will be useful if some other tester have same problem please let me know.
This is the first release of DiLeader to know user's pulse...and it will be improved shortly.
thanks for all your comments, suggestions and bug reports. ;-)
Just getting back from Vacation. I will post something in a day or two.
-
i havent downloaded or tested this
but looking at the animations this looks to be a very cool program
and i have 1 question, is there any chance that you could have some type of option for working with dtext instead of mtext?
maybe place some type of "switch" in the code itself for the user to change to get it to use dtext in place of mtext?
regardless if you can or not, i still think this is a nifty program
-
i havent downloaded or tested this
but looking at the animations this looks to be a very cool program
and i have 1 question, is there any chance that you could have some type of option for working with dtext instead of mtext?
maybe place some type of "switch" in the code itself for the user to change to get it to use dtext in place of mtext?
regardless if you can or not, i still think this is a nifty program
I will second that request also, only use dtext here.
-
Request for text height change: 8-)
(setq DL_textsize (* (getvar "DIMTXT") (getvar "DIMSCALE"))) ; CAB
-
Thanks Guys...
I'm a little busy right now....
But i've read all your comments and i'll be back soon.
Andrew and Gary...
Yes this can be done.
CAB
Thanks for the suggestion....i'll take it. ;-)
-
Hi all..
Sorry for the delay.....to much work here.. :wink:
Well,..there we go...
DILEADER v.1.4
(Dynamic Intelligent Leader)
what's new on this release:
- Work with Block entities.
- Dimscale & Textsize readjusted.
- Multiple selection allowed.
- Text color adjusted with DIMCLRT variable.
- Leader position readjusted when Moved or stretched.
- MOVE,STRETCH,ROTATE,SCALE are now added to reactor.
- Reactor now work for block entities and/with multiple selection.
- DILEDIT remake to allow block recongnition.
- TEXT & MTEXT choice option addded.
As you can see below, you can now use multiple object selection, DiLeader will readjust all the thing.
Feel free to add your comments.
Enjoy !
(next step: annotative detection)
-
Very nice Andrea. The only comment I have is for it to use the current text style, and the arrow head did not show up.
-
Very nice Andrea. The only comment I have is for it to use the current text style.
thanks.
maybe it will be better if DiLeader use DIMTXSTY variable ?
-
Impressive Andrea.
-
Impressive Andrea.
thanks. :-)
-
Many people ask me..
"what is the difference between Mleader and DiLeader ?"
Mleader have some options who DiLeader don't have
but there is what I know.....
-Mleader do allow only Mtext entity
-Mleader do no tag an object but a point.
-Mleader can not tag any unproportionaly scaled Blocks.
-Mleader remove the connection between block object if it is unproportionaly scaled. (see gif)
-Mleader available from 2008 -> 2010 only vs DiLEADER tested on 2004 -> 2010.
Do I miss something ?
By the way....why we can't use any snap mode on unproportionaly scaled blocks ?
-
New Feature...
Block arrow Switch by pressing TAB key.
;-)
-
Just FYI, this thing is AWESOME! I tried to break it, but by version 1.4, every bug I'd found from version 1.0 was corrected. (as you know)
(autocad 2008)
Sweet!
-
hello I have a slight problem with 1.4 and 1.5:
Command: dil
(T)ext/(M)text ?<M>: M
Invalid option keyword.
(T)ext/(M)text ?<M>: T
Invalid option keyword.
(T)ext/(M)text ?<M>:
Select Object...
Pick Text location...
Dileader Finish.
also the leader is not associated with the text.
Could this be because I am using 2004?
Thanks
-
Hi...
can you give this a try ?
(initget 0 "TEXT MTEXT")
(setq DLtextMode1 (getkword (strcat "\n(T)ext/(M)text ?<?>: ")))
(princ (vl-princ-to-string (ascii DLtextMode1)))
-
Just FYI, this thing is AWESOME! I tried to break it, but by version 1.4, every bug I'd found from version 1.0 was corrected. (as you know)
(autocad 2008)
Sweet!
Thanks ArgV.. ;-)
-
Hello Andrea
On further investigation if i enter 'text' or 'mtext' in full then it will work properly.
I suppose 'text' and 'mtext' are very similar.
The other problem with moving the leader note in one I haven't been able to resolve (acad 2004)
thank you
-
Hi PAD,
I'm working on it and be back with a new release.
(what is the bug on moving ?)
-
Great
I can create the leader fine, but if I come to shift its position as in your example, the leader will move separately from the note, instead of as one.
It acts the same as a dissociated dimension or as if its been exploded.
Whether this is an incorrect setting within my acad 2005 (sorry previously I said 2004, its actually 2005) I wouldn't know.
Thanks
-
New release...
DILEADER v.1.6
(Dynamic Intelligent Leader)
what's new on this release ?
- Textstyle follow DIMTXSTY variable
- DILEDIT can now allow to select Leader and Text
- Icon Added on mouse over a leader allowing user to see wich leader have been created by DiLEADER ( follow the GRIPSCOLOR variable)
- Bug Fixed when Text was deleted from DiLeader object allow now to Edit Leader who do not Contain any Text or Mtext
- Bug Fixed for 2005 when try to switch Text or Mtext option
tested on AutoCAD 2005, 2006 2007 2008 2009 and 2010.
Enjoy ! :-)
-
-
Awesome work ! I'll test it more down the road and get back to U if i find any bug. Thks for sharing again Andrea.
Your app name could as well apply to you. Dynamic and Intelligent leader. :wink:
-
Awesome work ! I'll test it more down the road and get back to U if i find any bug. Thks for sharing again Andrea.
Your app name could as well apply to you. Dynamic and Intelligent leader. :wink:
LOL ! thanks. :angel:
-
Andrea
I still can not move the leader without breaking the link as per your illustration.
Also when I move the text, this link is also broken.
Only moving the object taged seems to keep the reactor link.
-
Andrea
I still can not move the leader without breaking the link as per your illustration.
Also when I move the text, this link is also broken.
Only moving the object taged seems to keep the reactor link.
do you use DILEDIT command ?
-
Nice and awesome.
Thanks for your effort.
-
Andrea
I still can not move the leader without breaking the link as per your illustration.
Also when I move the text, this link is also broken.
Only moving the object taged seems to keep the reactor link.
do you use DILEDIT command ?
No. I didn't. That's pretty slick.
-
Thanks...
there is the last release..
DiLEADER v.1.7
Dynamic Intelligent Leader
Some bug fixes and icon added when mouse cross over text entity.
:wink:
-
There it is....like promised..
Another LAST release.. ;-)
DiLEADER v.1.8
Dynamic Intelligent Leader
New:
- DILA and DiLEADERA command added for Quick annotative Leader
- Modification entity remake to allow Annotative Leader and Text.
:roll:
-
Andrea,
WOW. Why is it that AutoDesk couldn't come up with this feature.
While playing around with it in a new template everything works perfectly. However, if I jump into one of my companys' standard I get the error 'Automation Error. Key not found' right after selecting the object.
I've skimmed through the code looking for that clause to see if your code princ'ed me the error with no luck.
Regards,
Xander
-
Thanks Xander...
Few Questions...
- What release of AutoCAD ?
- What Kind of object you have selected ?
- Do you run any other routine maybe have conflict with ?
- is that happend on each file ?
Please let me know.
thanks.
-
Andrea,
-Currently Running AutoCAD 2010
-Just a rectangle.
-We have many routines, but none which should be conflicting.
-Only happens on our company templates. Every other template works.
I have come to think it has something to do with text styles. I have attached an example to this post for your viewing pleasure.
Regards,
Xander
-
Thank you....It is now fixed ! ;-)
it was the Arrow custom leader... ;-)
This fix will be add on the new release 1.9..(next week)
I've remake the reactor to allow user to edit object with the Propreties Panel.
and add some fix when copying Leader.
Thanks again.
-
Thank you....It is now fixed ! ;-)
it was the Arrow custom leader... ;-)
This fix will be add on the new release 1.9..(next week)
I've remake the reactor to allow user to edit object with the Propreties Panel.
and add some fix when copying Leader.
Thanks again.
No, thank-you for the development. This has been a much needed feature inside AutoCAD for a loooooonnnnnng time. I'm only glad I could help.
:-D
-
One of the best pieces of coding I ever found !! Thank you for sharing it on this forum.
I'd like to use it in combination with menu macro's (.mnu file), ie:
[Free Leader]^C^Cdila;m;
That one works.
[Edit Leader]^C^Cdiledit;
That works too, duh..
And this one doesn't work, I would like it to only prompt for "selecting object" and "text location"...:
[Leader 16mm]^C^Cdila;m;pause;pause;16mm;
I know it can be done within the coding but it can also be done in the .mnu file for other functions also work properly like "-insert":
[B1,Button 1]^C^C-insert;b1;s;$m=$(getvar,userr1)
Any help / solution is much appreciated.
-
Aerdvark ...first...welcome to theswamp !
thanks for the comment....i'll try to do something for that..
-
Okay, thanks in advance !
-
Well...
there we go....
DILEADER v.1.9
(Dynamic Intelligent Leader)
This release have some bug fix and a new option.
- Reactor for GRIPS was remake with :vlr-objectmodified to allow
DiLeader to readjust the Leader when the Object is modified via
the Propreties ToolPalette (MLEADER do not allow that ;-) )
- New Text Prompt to allow user to custom cui or mnl/mnu
- Bug fix when copying object with leader even with grips command
- Bug Fix for Annotative Mtext with DILEDIT command
- Bug Fix when Arrow switched - multi-language compatible
example of script to custom menu
^c^c^pdila;t;[color=navy]My text here[/color];
^c^c^pdil;m;
enjoy !
-
Hello Andrea, where are you controlling the leader head & text size factors specifically?
I use my dimscale but I need a different factor for my scaling.
Edited, should have re-read the post first my apologies :)
DiLEADER 1.1
Dynamic Intelligent Leader
Update 1
I have replaced the DL_textsize variable to take the existing
DIMTXT when Updated and the DIMTXT against TEXTSIZE when created.
(setq DL_textsize (vla-get-Height (vlax-ename->vla-object TXTobj)))
(setq DL_textsize (getvar "DIMTXT"))
Update 2
I use vlax-curve-getClosestPointTo
against vla-intersectwith This modification show diffrent leader reaction...but work better.
Update 3
I also updated the code to put the Arrow size as per DIMASZ
(vla-put-ArrowheadSize (vlax-ename->vla-object Llead) (getvar "DIMASZ"))
Update 4
Left/Right justification text was improved when object as been updated.
Update 5
and finaly..
the "NOTE" in the Mtext still there when moving the mouse to show dinamicly a preview..
but it will be gone when picking the loccation text.
(entmod (subst (cons 1 "") (assoc 1 (entget Ltext)) (entget Ltext)))
Let me know if all work ok.
thanks.
CAB.
I need to install 2000 for test..
(http://www.theswamp.org/screens/Andrea/DiLeader4.gif)
-
Hi KewlToyZ ...
All fix as been done few release ago... :wink:
your Update #3 have been done like this.
(vla-put-arrowheadsize
(vlax-ename->vla-object llead)
(* (getvar "DIMSCALE") (getvar "DIMASZ"))
)
-
I admire your continued effort in this program... it must be getting close to perfect by now.... ;-)
-
I admire your continued effort in this program... it must be getting close to perfect by now.... ;-)
thanks...:)
I don't realy know when to considere a program is finished....anyone know ? :lol:
I think that a program is finished when the owner decide that is finished..
it's like painting...
for my own....DiLeader is near the end.....but I have to many idea to improve this program.
- Multi-Leader (similar to this (http://www.theswamp.org/index.php?topic=25195.msg303213#msg303213))
- Switch Leader to another object simply on Stretch on it
- Text/Mtext conversion
- Use Field
- Keep Link on object Mirrored or Copied
- Text attachement location
- use RTEXT
- use blocks Identification with attributes (similar to this (http://www.theswamp.org/index.php?topic=28339.msg339237#msg339237))
- etc..... etc...
-
Hi Andrea,
Thank you for this great miracle! It allready is in my menu :-)
There is one thing I changed: the line "(alert "item added") for it reacts on the usual copy command. I changed "alert" into "princ".
In this case the routine stays the same only the alertbox is changed into a message on the command line.
I'd rather not use alertboxes in commands for they are annoiing (sorry I'm dutch).
If you want to have some more "wishes" to modify the routine: how about a leader that points two objects?
See image below.
Kind regards,
Marco.
-
Lol !! Forgot to remove my test alert...
thanks. :-)
Yes, this feature is one of the list...
version 9.1.1 below (alert box removed)
-
I've done that so many times... :oops:
-
Andrea
Very nice.
-
Very nice, thank you.
Add it into my leader macro: ^C^C(LOAD "DILEADER") -la;set;text;;_dil \\\^C^C-la;set;text;;select;\tcircle;p;;0.25;S;V;
-
Thank you guys..
mdbdesign....I didn't test it...but did you tried to use *^c^c.... for repeat action ?
what's next !??...
MDiLEADER
(Multiple Dynamic Intelligent Leader)
Coming soon....;-)
overview...
-
:-o
Holy crap! lol
I got to see this.
-
mdbdesign....I didn't test it...but did you tried to use *^c^c.... for repeat action ?
Yes, :-( not working, sorry :-(
-
Well Andrea, it is still getting better!
Don't mind / bother the alert box message, it's solved now.
A question: is it possible for me to modify the routine (I mean it doensn't have to be in your for everyone has its own use for it) so it works "perpendicular" and with certain distances?
See the image I added: the above is how I would like to have it.
Always the same distance from the selected object (in this case 300mm) and always under 90 degrees corner, yous is 66 degrees.
I was looking for the "getpoint" function in the routine but since you use "vla-..." I am losing track.
Thank you for helping me out.
-
Thanks Andrea, for what it looks like a lot of work.
This little programme is gonna be a killer when it is complete... :laugh:
I am having problems running it thou. :cry:
I receive the following error message.
Select Object...
Pick Text location...
bad argument value: AcDbCurve 2020830000
Command:
I am using AutoCAD 2010, and I have tried several different version of the programme. (ie 1.6 to 1.9.1) all with the same result.
-
Thanks Shade..
What kind of object do you select ?
can you make (entget(car(ensel))) and select your object and post the result ?
or post the dwg of the selected object ?
thanks.
-
Aerdvark...
Yes this can't be impossible..
but I think that modification require lot of work vs the utilisation..
we have to keep in mind that few years ago....we where on drafting table..
:kewl:
-
Andrea,
Just a thought :-)
You could add something similar to this into your GrRead loop to check for Orthomode and adjust the mouse point in relation to the point returned by GetClosestPointTo:
(if
(not
(zerop
(logand 1 (getvar "ORTHOMODE"))))
(if
(<= (abs (- (car dat) (car iPt)))
(abs (- (cadr dat) (cadr iPt))))
(setq dat
(list (car ipt) (cadr dat) (caddr dat)))
(setq dat
(list (car dat) (cadr ipt) (caddr dat)))))
Where dat is your mouse point and iPt is the point returned by GetClosestPointto, in addition you could allow for the F8 key (chr 15) to switch ORTHO on and OFF :-)
Just an idea :wink:
Lee
-
Hi Lee...
thanks..
After testing your code...it seem to work...
but I have strange result because the intersection point is calculate from the cursor location point who is also the Text insertion point....so I need to modify the routine to allow that..
but your code is good....thanks to provide it. I'll try to add it on future release.
-
Not a problem - I use that and also some code to imitate OSnaps during GrRead loops.
You can see it in use here (http://www.theswamp.org/index.php?topic=29397.0) for more reference.
Hope this helps you improve an already superb program (http://www.theswamp.org/screens/leemac/Clapping.gif)
Good luck,
Lee
-
Not a problem - I use that and also some code to imitate OSnaps during GrRead loops.
You can see it in use here (http://www.theswamp.org/index.php?topic=29397.0) for more reference.
Hope this helps you improve an already superb program (http://www.theswamp.org/screens/leemac/Clapping.gif)
Good luck,
Lee
LOL !! I think we need to be coordonate... ;-)
Look Here !! (http://www.theswamp.org/index.php?topic=26774.msg322539#msg322539)
-
haha -- Great minds think alike it seems 8-)
-
Thanks Shade..
What kind of object do you select ?
can you make (entget(car(ensel))) and select your object and post the result ?
or post the dwg of the selected object ?
thanks.
I was trying to select various object types (ie. Circle, line, etc) at the time.
Since then I have rebooted my computer and tried again.
Now the lisp seems to work great.
Unfortunately the lisp does not work with Xrefs. Since our notation drawings are separate from our background or line work drawings, which are xref'd into the notation drawing, i cannot integrate the lisp into my everyday work. :cry:
keep up the great work Andrea...
-
Finaly....
DILEADER v.2.0
(Dynamic Intelligent Leader)
Updates:
- Reactor for Grips remake on release 1.9 was changed to prevent
AutoCAD crash when trying to resize a viewport.This need to be rethink.
- New Feature Multi Object Selection.
Prompt user "Do you want Multiple Object Selectino ?(Y)es/(N)o"
- DLEDIT entirely remake to allow Leader and Text Dynamic moving for
the New Feature Multi Object Selection.
- Work With XREF and Blocks
enjoy !
-
Superb :lol:
I think you have outdone yourself again Andrea :-)
-
Superb :lol:
I think you have outdone yourself again Andrea :-)
Thanks LeeMac.. ;-)
Want to see something cool ?
DiLeader will be "WIPEOUTED" !! :)
-
Superb :lol:
I think you have outdone yourself again Andrea :-)
Thanks LeeMac.. ;-)
Want to see something cool ?
DiLeader will be "WIPEOUTED" !! :)
KOOL
-
Wow - that is cool! :lol:
-
Thanks LeeMac..
Want to see something cool ?
DiLeader will be "WIPEOUTED" !!
That definitely is cool !!
-
This is a great bit of programming; however I wanted to make 2 comments:
1. I get an error when trying to point the DIL to a block (and even a viewport [not sure how often you would wish to point to a viewport, however] )
2. Like Lee Mac mentioned earlier in this thread - would it be possible to 'combine' this with the Multi-Leader wotsit ?
-
Unfortunetly...I think that I can't..
because Mleader use his own xdata on pickpoint that can interfere with DiLEADER Object association.
see This (http://www.theswamp.org/index.php?topic=29245.msg353155#msg353155) post
can I ask you why you want to use Mleader ? (just curious)
-
Finaly.. 8-)
New Release..
DiLEADER v.2.2.2
Dynamic Intelligent Leader
Fixes:
V.2.0.1 - 26-08-09
- DiLEDIT fix for Arrow switching with TAB key in Multi Object Selection
- nil message removed in AutoCAD prompt line
- Annotative Leader in Multi Object Selection Fixed
V.2.1.1 - 30-08-09
- New Feature DiLEADER Auto-wipeout
V.2.2.2 - 01-09-09
- Bug fix with text alignement on reactor object edition
- Bug fix on WipeOUT multiple Leader Edition
- Reactor OnDelete delete Wipeout if leader is deleted
On this release you will have some NEW options !
- New command "DLMASK" allow user to mask Leader
- New command "DLCUSTOMARROW" allow user to browse to a specific folder
containing all custom arrow in dwg format and add to the existing
AutoCAD arrow block list.
DiLEADER allow you to Auto-Mask the Object under the Leader entity. (wipeout)
(http://www.theswamp.org/screens/Andrea/WipeoutCircle.gif)
DiLEADER allow you to add all Custom DWG Arrow Blocks. (pressing the TAB key)
(http://www.theswamp.org/screens/Andrea/arrowstyles.gif)
DiLEADER allow you to Multiple-Stretch with LeaderMask type
and switch all Mutiple arrow block by pressing TAB key.
(http://www.theswamp.org/screens/Andrea/MultiDemo.gif)
I hope you will like it. ;-)
-
THAT'S SICK!!
English translation: good work Andrea. (http://www.theswamp.org/screens/mp/thumbsup.gif)
-
How do i get the leader arrow options? When do I use the tab key?
-
Putain, la vache c'est genial :-o
Oops excuse my french :evil:
-
How do i get the leader arrow options? When do I use the tab key?
Gary,..
Yes, TAB key allow user to switch between all available Arrow Blocks.
If it don't work... let me know please. Maybe is a diffrent code depending the Keyboard.
Michael and Serge...
Thanks for showing your "emotivity" :-D
I think now I've done with this program...
i'll fix reported bug if found.
Time to get a little break before picking another idea in the basket. :whistle:
-
forget Mleaders, DiLEADER is the new ticket!
this is incredible Andrea!!!
-
Absolutely brilliant Andrea :lol:
-
Hi Andrea,
Thanks again for sharing and spending time on this one! I believe this is the best lisp code I've ever came across !! Reason why?
1. The ideas are very good, it goes beyond standard autocad (or at least I think of it that way)
2. The variety inside (multiple styles, wipe outs, use of the TAB key etc.)
3. The use of it: this will be used by many
I can imagine you are done with this one now. You've got all the right to.
Just a little hint: inside the lisp you princ out :
(princ
"\n
DILEADER v.2.1.2 by Andrea Andreetti -Loaded-
command list = DILEADER/DIL : Create Dynamic Intelligent Leader.
DILEADERA/DILA : Create dynamic Intelligent Annotative Leader.
DLCUSTOMARROW : Select a Folder to add More DWG arrow type.
DILEDIT : Edit Leader created by DiLEADER.
[color=red]DLMAK [/color] : Allow user to Draw Leader Over a Mask Wipeout.
")
Where the red part should be "dlmask". But don't consider this as a comment, :realmad: ...
I think I will start a topic called "Tell us your best routine".... so there is gonna be a collection of this kinda great stuff. Anyone agree..?
-
Aerdvark ..
Thanks for all your comment...
I realy appreciate.
The idea to have this new topic will be nice.
but theswamp have a topic named "Show your Stuff" (http://www.theswamp.org/index.php?board=11.0)
maybe user can put it there.?
Also,...I have made many hot routine that I can't share for legacy restriction.
but I can explain what it does and show some screenShot ?.. :kewl:
Anyway,....Nice to see that DiLeader is appreciated from many. :roll:
-
Andrea
The promblems I am having is with the dimstyle and dimstyle overrides. If I use the standard style everything works fine, tab key and all.
When I use anyother dimstyle it creates an override and doesnot work (not arrows show up) and of course the tab key will not display the other options.
I think the problem is here on my end. I will get back to you when I figure it out.
-
Andrea
The promblems I am having is with the dimstyle and dimstyle overrides. If I use the standard style everything works fine, tab key and all.
When I use anyother dimstyle it creates an override and doesnot work (not arrows show up) and of course the tab key will not display the other options.
I think the problem is here on my end. I will get back to you when I figure it out.
I think it has to do with where I chose to place the DLCUSTOMARROW folder containing your arrow blocks.
When I use the DLCUSTOMARROW command, how do I chose a different folder using the browser?
-
Hi Gary.. you'r right. sorry for that..
Please replace the DLCUSTOMARROW function by this one..
(defun c:DLCUSTOMARROW (/ DLCA)
(if (setq DLCA (getenv "DiLEADERcustomArrow"))
(setq DLCA (strcat DLCA "\\"))
)
(setq sh (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application"))
(setq folder (vlax-invoke sh 'browseforfolder 0 (strcat "Custom Arrow Folder...\nCurrent = " DLCA) 0 ))
(vlax-release-object sh)
(if folder
(progn
(setq Dir (vlax-get-property (vlax-get-property folder 'Self) 'Path))
(setenv "DiLEADERcustomArrow" Dir)
)
)
)
This will be added on the revised code with other fixes..
thanks.
-
Ok, I got it working. I had a broken custom dimstyle routine that needed fixen that was causing the trouble.
Works great now. And I had to modify my path:
(setenv "DiLEADERcustomArrow" "V:\\ARCH\\Custom_Architettura\\Dims\\")
Thanks Andrea for a great routine. Love it!!!
-
Hi Gary.. you'r right. sorry for that..
Please replace the DLCUSTOMARROW function by this one..
(defun c:DLCUSTOMARROW (/ DLCA)
(if (setq DLCA (getenv "DiLEADERcustomArrow"))
(setq DLCA (strcat DLCA "\\"))
)
(setq sh (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application"))
(setq folder (vlax-invoke sh 'browseforfolder 0 (strcat "Custom Arrow Folder...\nCurrent = " DLCA) 0 ))
(vlax-release-object sh)
(if folder
(progn
(setq Dir (vlax-get-property (vlax-get-property folder 'Self) 'Path))
(setenv "DiLEADERcustomArrow" Dir)
)
)
)
This will be added on the revised code with other fixes..
thanks.
Much better!!! Thanks.
-
i'm glad you like it ! :-)
-
Andrea
Your routine will not accept another textstyle other than "standard". I am pretty sure it is something that I am doing wrong...
Enclosed is how I set up my dim and text styles from the "FILE" dialog box:
These are old clunky routines from version 12, that someday I will have to clean up.
-
Nice Catch....I didn't test with other dimstyles.. :evil:
But it is now fixed ! thanks !
Any other bug before I post 2.2.3 ?
-
Dialog box... :angel:
-
Hallo Andrea
Ich glaube die Pfeilgröße wird falsch berechnet.
-
My compliments for your work Andrea!
I found a problem when I use a new UCS.
If not set as current WCS, at the prompt "Pick Text location..." text is positioned away from the cursor.
I have not found where to enter the function
(trans pt from 0 1)
-
Welcome to the Swamp Hugo and zanze02. 8-)
-
Hi Hugo and zanze02...
First,...thank you taking time to register to theswamp and welcome.!
Second..Thank you for your bug report,...I didn't check the ucs....
...Take a look on this post i'll be back with the fix shortly.
Hugo:
Danke werde ich überprüfen und kehren mit einer neuen Version zurück
-
Dialog box... :angel:
Yes,..this can be done.. thanks. :kewl:
But,..maybe I can ask..?
Dialog DiLEADER contest ?
something like....:
-
Hallo CAB & Andrea
Ich kann aber leider kein Englisch, und muss alles auf Deutsch schreiben, hoffe das ist ok.
:-( :-(
-
Hugo ist kein Problem, gibt es Seiten .. Online-Übersetzung mach dir keine Sorgen, dass vor allem für
:wink:
For who want to know...
He say that he is sorry,...cause he don't know any word in english..
I have answered that it is not a problem because there is many online website traductor..
I use : http://translate.google.fr/# (http://translate.google.fr/#)
:)
-
Hallo CAB & Andrea
Ich kann aber leider kein Englisch, und muss alles auf Deutsch schreiben, hoffe das ist ok.
:-( :-(
Diese Seite scheint gut für mich arbeiten : http://www.google.com/ig?hl=en&referrer=ign_n
This site seems to work fine for me: http://www.google.com/ig?hl=en&referrer=ign_n
-
My compliments for your work Andrea!
I found a problem when I use a new UCS.
If not set as current WCS, at the prompt "Pick Text location..." text is positioned away from the cursor.
I have not found where to enter the function
(trans pt from 0 1)
FIXED ! thanks.
-
Hallo Andrea
Ich glaube die Pfeilgröße wird falsch berechnet.
feste ! ( FIXED ! )
-
Dialog box... :angel:
Yes,..this can be done.. thanks. :kewl:
But,..maybe I can ask..?
Dialog DiLEADER contest ?
something like....:
Andrea, is that OpenDCL?
-
Dialog box... :angel:
Yes,..this can be done.. thanks. :kewl:
But,..maybe I can ask..?
Dialog DiLEADER contest ?
something like....:
Andrea, is that OpenDCL?
Was made with QuickPreview Button from..
www.ObjectDCL.com (http://www.ObjectDCL.com)
...sorry. ;-)
-
New Release..
DiLEADER v.2.2.3
Dynamic Intelligent Leader
Fixes and novelties:
- Bug Fix with DiLCUSTOMARROW allowing user to browse folder
- Some Princ message fixed
- Bug Fix with diffrent Dimstyle than "Standard"
- Bug Fix if Dimasz and Dimtxt is set to 0 (default = dimscale)
- Bug Fix with UCS WCS conversion.
- By pressing CANCEL on DLCUSTOMARROW function this will allow user
to remove the DiLEADER Custom Arrow Path.
- New command: DiLCONFIG allow user to set DiLEADER via Dialog Box.
- DLMASK renamed to DiLMASK and DLCUSTOMARROW renamed to DiLCUSTOMARROW
To respect DiL name standard.
- New command DiLATTACH allow to created DiLEADER with exiting TEXT.
:roll:
-
Hi Andrea,
Looks great to me, might want to share the code with us?
You did not post the lisp routine itself.
Very well done!
Regards,
Marco
-
Great Job Andrea!
How many man hours do you have in the now? 8-)
-
How many man hours do you have in the now? 8-)
is that a zen question? (http://www.theswamp.org/screens/mp/poke.gif)
-
this thing is out of control. i can't compliment you enough on this Andrea.
-
Oops !... :lmao:
sorry guys..
Well,...thanks for all your comments suggestions and compliments..
For me...It is not important how many hours, day or month I spent to make a program..
I always learn. :kewl:
-
Hallo Andrea
Wo kann man die neue Version Uploaden.
Danke
-
How many man hours do you have in the now? 8-)
is that a zen question? (http://www.theswamp.org/screens/mp/poke.gif)
No zen intended. :-)
Was genuinely interested in the count. Reflecting to past projects I know the hours just pile up.
Some roads I would not have gone down had I known. 8-)
-
Hallo Andrea
Wo kann man die neue Version Uploaden.
Danke
hier (http://www.theswamp.org/index.php?action=dlattach;topic=29245.0;attach=13496), lade ich Sie auch Ihren Text mit diesem (http://translate.google.fr/translate_t?prev=hp&hl=fr&js=y&text=Wo+kann+man+die+neue+Version+Uploaden&file=&sl=de&tl=fr&history_state0=#fr|de|ici%2C%20Je%20t'invite%20aussi%20a%20traduite%20tes%20textes%20avec%20ceci%20avant%20de%20les%20diffuser) vor der Ausstrahlung übersetzt
-
Danke Andrea
Echt ein Super Lisp.
Danke Danke
-
Ich habe nicht gewusst, dass jemand hier spricht Deutsch :-)
-
Ich habe nicht gewusst, dass jemand hier spricht Deutsch :-)
Ich wusste nicht, gab es zwei :wink:
Danke Marco.
-
:-o My goodness your creativity level is going through the roof !! Excellent as always...
You're making LISPER MAGASINE 's cover this month....again... :-D
Seb
-
Andrea I get this with the latest version:
Command: dil
(T)ext/(M)text ?<M>: t
Do you want Multiple Object Selection ?(Y)es/(N)o ?<YES>: n
Text: Lee Mac
Select Object...
Pick Text location...
bad argument type: 2D/3D point: nil
Just tried clicking on a closed LWPolyline...
-
One thing I do notice, you write a lot of registry keys with the program, I count about 5... is this really necessary? I suppose it doesn't matter too much with todays machines, but I was always advised not to bloat the registry too much :|
-
One thing I do notice, you write a lot of registry keys with the program, I count about 5... is this really necessary? I suppose it doesn't matter too much with todays machines, but I was always advised not to bloat the registry too much :|
Lee,..you'r right,
this was just to keep the Config settings..
but maybe it will be better to write on a text file ?
I think that way will be useful to share config via network and user will not loose there settings each time they change the PC.
Is that make sence ?
Seb...Thanks ! I'm glad that you like the program. ;-)
-
Good idea with the Text File - or maybe just one registry key with the information in a list?
-
One thing I do notice, you write a lot of registry keys with the program, I count about 5... is this really necessary? I suppose it doesn't matter too much with todays machines, but I was always advised not to bloat the registry too much :|
Lee,..you'r right,
this was just to keep the Config settings..
but maybe it will be better to write on a text file ?
I think that way will be useful to share config via network and user will not loose there settings each time they change the PC.
Is that make sence ?
Seb...Thanks ! I'm glad that you like the program. ;-)
excellent idea with the text file.
being able to write out all settings to an ini, etc. that could be placed on the network would be the best option.
-
Good idea with the Text File - or maybe just one registry key with the information in a list?
i thought you could only write strings to the registry? then you would have to comma delineate it before writing to registry and converting to list for processing, or am i wrong about the registry?
great idea to combine everything.
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
;;Create leader point
(if (> (distance int urpoint) (distance int ulpoint))....
"urpoint" is nil and "ulpoint" is nil
into dilconfig function and createdildialog function
"(strcat (getvar "SAVEFILEPATH") "dlconfig.dcl")"
is "D:\\Tempdlconfig.dcl"
adding "\\" write the correct file name path
"(strcat (getvar "SAVEFILEPATH")"\\" "dlconfig.dcl")"
is "D:\\Temp\\dlconfig.dcl"
regards
-
Good idea with the Text File - or maybe just one registry key with the information in a list?
i thought you could only write strings to the registry? then you would have to comma delineate it before writing to registry and converting to list for processing, or am i wrong about the registry?
great idea to combine everything.
I would vl-princ-to-string a list and write it to the registry, then read it when retrieving - but the text file seems like the best option.
-
Hi....
First,..welcome to theswamp ! :-)
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
;;Create leader point
(if (> (distance int urpoint) (distance int ulpoint))....
"urpoint" is nil and "ulpoint" is nil
some variable are local and will aways return nil at the end if they was nil
into dilconfig function and createdildialog function
"(strcat (getvar "SAVEFILEPATH") "dlconfig.dcl")"
is "D:\\Tempdlconfig.dcl"
adding "\\" write the correct file name path
"(strcat (getvar "SAVEFILEPATH")"\\" "dlconfig.dcl")"
is "D:\\Temp\\dlconfig.dcl"
I do not understand..why you don't have the "\\" at the end...
-
Good idea with the Text File - or maybe just one registry key with the information in a list?
i thought you could only write strings to the registry? then you would have to comma delineate it before writing to registry and converting to list for processing, or am i wrong about the registry?
great idea to combine everything.
I have think about it yesterday..
but I think that can't make big diffrence..
because I need to save the Path of the configuration text file (ini) in the registry...lol !
or maybe to another local text file who have information of the network path location...ah !
-
Good idea with the Text File - or maybe just one registry key with the information in a list?
i thought you could only write strings to the registry? then you would have to comma delineate it before writing to registry and converting to list for processing, or am i wrong about the registry?
great idea to combine everything.
I have think about it yesterday..
but I think that can't make big diffrence..
because I need to save the Path of the configuration text file (ini) in the registry...lol !
or maybe to another local text file who have information of the network path location...ah !
have it in a support path, with additional options.
(or (findfile "blah.ini")
(vl-registry-read
(vl-registry-write
)
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
I am getting this error too no matter what kind of object I select, but I am using Autocad 2005. Although I don't remember what the exact reason is, I seem to recall an explanation as to why your other dynamic routines (dhatch, dcloud, etc.) will not function correctly in older versions. Perhaps this is part of his problem?
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
I am getting this error too no matter what kind of object I select, but I am using Autocad 2005. Although I don't remember what the exact reason is, I seem to recall an explanation as to why your other dynamic routines (dhatch, dcloud, etc.) will not function correctly in older versions. Perhaps this is part of his problem?
Fixed ! thanks..
was an error on local variables. ;-)
DiLEADER 2.2.4
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
I am getting this error too no matter what kind of object I select, but I am using Autocad 2005. Although I don't remember what the exact reason is, I seem to recall an explanation as to why your other dynamic routines (dhatch, dcloud, etc.) will not function correctly in older versions. Perhaps this is part of his problem?
Fixed ! thanks..
was an error on local variables. ;-)
DiLEADER 2.2.4
Can't speak for zanze02, but it seems to work as advertised for me now.
Thanks! Great tool.
-
Hallo Andrea
Bei mir sind immer die Pfeile zu gross.
Was muss ich da einstellen. (siehe Bild)
-
Hallo Andrea
Bei mir sind immer die Pfeile zu gross.
Was muss ich da einstellen. (siehe Bild)
Blick auf die Variablen und mir sagen, was sie sind:
DIMASZ
DIMSCALE
DIMTXT
-
Hallo Andrera
DIMASZ 2.50
DIMSCALE 35.00
DIMTXT 2.50
Danke
-
Hi Andrea,
It certainly works great now !!
A few days ago you said you felt like you were done with this lisp.
Well it turns out that you were not :-P
As many others I once again say: great job !
-
Hallo Andrera
DIMASZ 2.50
DIMSCALE 35.00
DIMTXT 2.50
Danke
Hallo Hugo, ich verstehe nicht, warum es nicht funktioniert. Könnten Sie mir Ihr Bild?
Ich lade Sie auch zu Ihrem Text, bevor sie sie auf theswamp übersetzen.
http://translate.google.com/# (http://translate.google.com/#)
danke.
Aerdvark....
Thank you I realy appreciate. DiLEADER grow up with your comments ans suggestions.
-
This is a great little program and I have been following the progress for quite sometime now.
Trying out the odd new versions as they become available.
I have one little problem though, that I thought was part of the original program.
When I move the leader text, the leader(s) do no follow, like when you more the objects (ie. circle, line).
Is the text supposed to stay stationary and only the object can move and the leader reacts to the new position?
Myself and other at my office like the idea of the lisp, but we tend to move the leader text more then the objects the leader is pointing to.
We move the text more to fit in a viewport when detailing, if you are curious why.
Is it possible to put a reactor on the text also?
Keep up the great work I look forward to the next version, that is if there is one......
Shade :mrgreen:
-
This is a great little program and I have been following the progress for quite sometime now.
Trying out the odd new versions as they become available.
I have one little problem though, that I thought was part of the original program.
When I move the leader text, the leader(s) do no follow, like when you more the objects (ie. circle, line).
Is the text supposed to stay stationary and only the object can move and the leader reacts to the new position?
Myself and other at my office like the idea of the lisp, but we tend to move the leader text more then the objects the leader is pointing to.
We move the text more to fit in a viewport when detailing, if you are curious why.
Is it possible to put a reactor on the text also?
Keep up the great work I look forward to the next version, that is if there is one......
Shade :mrgreen:
Hi shade,
are you using DilEdit ?
-
Hallo Andrea
Habe ein Zip angehängt mit einer DWG.
Danke
-
This Drawing doesn't work on 2008 but work on 2010..
I have set the same Dim variable on a blank drawing...
I have explode the leader and insert on that drawing to know if the problem come form the textsize or the arrowsize..
it seem to be the arrow size....it keep always the non-override dimstyle.
Bug on this drawing or a variable I don't know ?
If some of you can give this a try..
thanks.
-
are you using DilEdit ?
ah right i see. I was selecting them after creating them and wondering why they weren't moving as in your animations.
I should have read the instructions. Diledit works like a charm.
Thanks
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
I am getting this error too no matter what kind of object I select, but I am using Autocad 2005. Although I don't remember what the exact reason is, I seem to recall an explanation as to why your other dynamic routines (dhatch, dcloud, etc.) will not function correctly in older versions. Perhaps this is part of his problem?
Fixed ! thanks..
was an error on local variables. ;-)
DiLEADER 2.2.4
Hi Andrea,
Thanks for your sharing.
I tried your code but found a problem.
It made a number of copies of leaders when I moved the mouse.
Please see the attachements.
Thanks again.
-
Hi....
First,..welcome to theswamp ! :-)
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
;;Create leader point
(if (> (distance int urpoint) (distance int ulpoint))....
"urpoint" is nil and "ulpoint" is nil
some variable are local and will aways return nil at the end if they was nil
into dilconfig function and createdildialog function
"(strcat (getvar "SAVEFILEPATH") "dlconfig.dcl")"
is "D:\\Tempdlconfig.dcl"
adding "\\" write the correct file name path
"(strcat (getvar "SAVEFILEPATH")"\\" "dlconfig.dcl")"
is "D:\\Temp\\dlconfig.dcl"
I do not understand..why you don't have the "\\" at the end...
I checked the values of variables with Debug Visual Lisp Editor
I changed the path using the tab "File" from "Options", this removes the "\" at the end.
I use "Autodesk Map 3D 2006 - Italiano SP1"
My first message was at "Reply #116"
Regards and i apologize for my not perfect English
I will try the new version as soon as possible
-
If not set as current WCS, at the prompt "Pick Text location..." text is positioned away from the cursor.
on DILEDIT command, the problem remains when using a new UCS.
-
Andrea,
I normally use this when dealing with filepaths:
(setq fpath "C:\\Lee Mac")
(or (eq "\\" (substr fpath (strlen fpath)))
(setq fpath (strcat fpath "\\")))
:wink:
-
How does it work with "%UserProfile%\\Application Data\\Autodesk\\MEP 2010\\enu\\Support" ?
I have workstations inadvertently unloading Express tools in 2010, still trying to figure out the why.
Regardless it leaves the workstations with an unable to load customization file command line prompt.
Makes quite a few bugs occur with publishing especially.
But when I try to make a check for it and reload it isn't working.
(if (null (menugroup "express"))
(command "menuload" "express")
)
Maybe null is the wrong check to use?
-
Hmmm maybe I should be paying more attention to "LOCALROOTPREFIX"
but I have had this error on some installations as well.
The dangdest part is only people with high level Administrative permissions seem to have problems.
-
Hi Andrea,
does not work:
Pick Text location...
bad argument type: 2D/3D point: nil
At this point,...what kind of object entity you have selected ?
I am getting this error too no matter what kind of object I select, but I am using Autocad 2005. Although I don't remember what the exact reason is, I seem to recall an explanation as to why your other dynamic routines (dhatch, dcloud, etc.) will not function correctly in older versions. Perhaps this is part of his problem?
Fixed ! thanks..
was an error on local variables. ;-)
DiLEADER 2.2.4
Hi Andrea,
Thanks for your sharing.
I tried your code but found a problem.
It made a number of copies of leaders when I moved the mouse.
Please see the attachements.
Thanks again.
MeasureUp,..welcome to the swamp....;-)
thanks reporting this issue...but after downloading your drawing...I can'T reproduce the problem..
but,..i'l will make more tests...
thanks.
-
If not set as current WCS, at the prompt "Pick Text location..." text is positioned away from the cursor.
on DILEDIT command, the problem remains when using a new UCS.
Hi Zanze..
can you provide a drawing with your named UCS ?
-
Andrea,
I normally use this when dealing with filepaths:
(setq fpath "C:\\Lee Mac")
(or (eq "\\" (substr fpath (strlen fpath)))
(setq fpath (strcat fpath "\\")))
:wink:
thanks Lee...
;-)
but I don't know why (getvar "SAVEFILEPATH") have diffrent result..!?
-
Hmmm maybe I should be paying more attention to "LOCALROOTPREFIX"
but I have had this error on some installations as well.
The dangdest part is only people with high level Administrative permissions seem to have problems.
Thanks KewlToyZ ..
I'll fix that shortly..
-
Andrea,
I normally use this when dealing with filepaths:
(setq fpath "C:\\Lee Mac")
(or (eq "\\" (substr fpath (strlen fpath)))
(setq fpath (strcat fpath "\\")))
:wink:
thanks Lee...
;-)
but I don't know why (getvar "SAVEFILEPATH") have diffrent result..!?
SAVEFILEPATH is Read/Write ;-)
-
Andrea,
I normally use this when dealing with filepaths:
(setq fpath "C:\\Lee Mac")
(or (eq "\\" (substr fpath (strlen fpath)))
(setq fpath (strcat fpath "\\")))
:wink:
thanks Lee...
;-)
but I don't know why (getvar "SAVEFILEPATH") have diffrent result..!?
SAVEFILEPATH is Read/Write ;-)
I mean....why sometime it end with a backslash and some time not ??
-
MeasureUp,..welcome to the swamp....;-)
thanks reporting this issue...but after downloading your drawing...I can'T reproduce the problem..
but,..i'l will make more tests...
thanks.
I had the same result in v2009 mech & v2010 mech.
Perhaps you use other version?
Thanks again.
-
MeasureUp,..welcome to the swamp....;-)
thanks reporting this issue...but after downloading your drawing...I can'T reproduce the problem..
but,..i'l will make more tests...
thanks.
I had the same result in v2009 mech & v2010 mech.
Perhaps you use other version?
Thanks again.
Tested from Acad 2005 thrue 2010 french & english release
-
If not set as current WCS, at the prompt "Pick Text location..." text is positioned away from the cursor.
on DILEDIT command, the problem remains when using a new UCS.
Hi Zanze..
can you provide a drawing with your named UCS ?
Andrea,
I apologize but this happens only in an old drawing.
however, in a new drawing with named UCS at the DIL command, the text is under the line.
I attach the sample file
regards
-
Hi Andrea !
It's been a long long time since I came on the swamp.
But I've just seen most of the stuff you published here in 2009 [with the help of Camtasia (!)].
Great job(s)
-
Hi Andrea !
It's been a long long time since I came on the swamp.
But I've just seen most of the stuff you published here in 2009 [with the help of Camtasia (!)].
Great job(s)
Merci Bertrand ! ;-)
-
OK....
I Think that I need a little help on this one...
attached...a dwg file (2004 format) with a simple Leader.
Arrow head size = 0.2
but if I use
(vla-get-arrowheadsize
(vlax-ename->vla-object (car (entsel)))
)
he give me:
Arrow head size = 1.0
any idea ?
-
Where did you get the Arrow Size as being 0.2 from ??
Opened in ACADM2010 this is my result:
Command: dumper
Select object: ; IAcadLeader: AutoCAD Leader Interface
; Property values:
; Annotation = nil
; Application (RO) = #<VLA-OBJECT IAcadApplication 00d5c1bc>
; ArrowheadBlock = "Dot"
; ArrowheadSize = 1.0
; ArrowheadType = 3
; Coordinate = ...Indexed contents not shown...
; Coordinates = (-3177.61 17242.4 0.0 -3175.89 17242.9 0.0 ... )
; DimensionLineColor = 0
; DimensionLineWeight = -2
; Document (RO) = #<VLA-OBJECT IAcadDocument 13150070>
; Handle (RO) = "2505"
; HasExtensionDictionary (RO) = 0
; Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 2c94d50c>
; Layer = "0"
; Linetype = "ByLayer"
; LinetypeScale = 1.0
; Lineweight = -1
; Material = "ByLayer"
; Normal (RO) = (0.0 0.0 1.0)
; ObjectID (RO) = 2128778600
; ObjectName (RO) = "AcDbLeader"
; OwnerID (RO) = 2128846072
; PlotStyleName = "ByLayer"
; ScaleFactor = 0.2
; StyleName = "cfS m 1a200"
; TextGap = 0.5
; TrueColor = #<VLA-OBJECT IAcadAcCmColor 2c98de30>
; Type = 2
; VerticalTextPosition = 1
; Visible = -1
Not sure about 2004, but I note that the
; ArrowheadSize = 1.0
and
; ScaleFactor = 0.2
-
Then , if you explode the Leader, and investigate the arrow block ;
LIST
Select objects: 1 found
Select objects:
BLOCK REFERENCE Layer: "0"
Space: Model space
Handle = 262c
Block Name: "_Dot"
at point, X= 0.4573 Y= 0.4044 Z= 0.0000
X scale factor: 0.2000
Y scale factor: 0.2000
rotation angle: 196
Z scale factor: 0.2000
Scale uniformly: No
Allow exploding: Yes
-
There it is...
ScaleFactor = 0.2
thanks Kerry.
-
Hallo Andrea
There it is...
ScaleFactor = 0.2
thanks Kerry.
Und was muss ich jetzt einstellen, damit es klappt mit der Pfeilgösse.
Danke
-
Hallo Andrea
There it is...
ScaleFactor = 0.2
thanks Kerry.
Und was muss ich jetzt einstellen, damit es klappt mit der Pfeilgösse.
Danke
Hallo Hugo..
please be patient...I am currently working on a new version. Thanks. (http://translate.google.fr/translate_t?prev=hp&hl=fr&js=y&text=Und+was+muss+ich+jetzt+einstellen%2C+damit+es+klappt+mit+der+Pfeilg%C3%B6sse&file=&sl=de&tl=fr&history_state0=#en|de|please%20be%20patient...I%20am%20currently%20working%20on%20a%20new%20version.%20Thanks.)
:-)
-
Hallo Andrea
Ok
Danke für rückmeldung
-
Hi Andrea,
I still am following this thread! Still like the discussion and I try every new update.
There is a thing that I would like to know, and maybe you can help me clear it up.
Is it possible to change the angle of the leader? I mean like 90 degrees or 0 degrees?
You should not alter the code only for my request but maybe you can show me where to look to alter it myself.
Or maybe that it works kinda "ortho"-like.
And also: the routine places the text left or right of the arrow leader. When moving the leader at one point it flips the text over to the other side.
It would be nice to have a switch in there, ie. when the arrow is placed the text appears on the left or right.
With TAB you can choose wich arrow head you want. And maybe with SPACE flip it left <-> right.
Maybe I'm not to clear... Dutch ah... :ugly:
-
Hi Aerdvark,
Thanks for your suggestions...
I'm a little busy at the moment (working on a new Project)
so i'll give a look soon on your request.
By the way....I do not understand what is the advantage to flip Left->Right the text entity..
can you provide any exemple ?
for the moment...there is some fix.
DiLEADER 2.2.5
also, you will see a new icon when the cursor crosses over a Leader entity created by QLEADER.
This new icon will allow me to transform this entity to a DiLeader Object on request for the next release.
:kewl:
-
Hallo Andrea
Danke jetzt sind meinen Pfeilspitzen ok.
Super Tool
-
Very Nice Program Andrea. What about typing in the text after the leader is placed instead of at the command line?
And, what about using up and down arrow keys to adjust the arrow size on the fly?
Great Work!
-
Very Nice Program Andrea.
thanks ;-)
Very Nice Program Andrea. What about typing in the text after the leader is placed instead of at the command line?
Not sure about your request.....
DiLeader allow Both.
if you don't enter any text at the command line it will ask on the graphic screen.
And, what about using up and down arrow keys to adjust the arrow size on the fly?
Nice Idea..
But is this will not interfer with the Company size standard ?
sure..I can get the + - key code or the arrowKey on the numPad
but can't get the arrow Key.
-
And, what about using up and down arrow keys to adjust the arrow size on the fly?
Nice Idea..
But is this will not interfer with the Company size standard ?
Put a variable to flag the feature On / OFF so the admin can control it. 8-)
-
Hi all,...
I would like to thank you about all your comments, bug report and suggestions.
I realy appreciate.
There is a New release.
DiLEADER 2.2.6
Dynamic Intelligent Leader
Bug Fix:
- Fix for dilATTACH : Arrow End Point
- Fix for Multi-Leader : Arrow End Point
- Princ test messages removed.
What's new?:
- Configuration panel have now 2 more flags.
(http://www.theswamp.org/screens/Andrea/dilconfigPanel.bmp)
1) Allow Dynamic arrow resizing:
this allow user to use + or - key to change the arrow size in real time
(http://www.theswamp.org/screens/Andrea/arrowsize.gif)
2) Auto-Convert Qleader->DiLEADER:
this allow user to use DiLEDIT with Qleader entity.
it detect the nearest object entity of the arrow start point.
if there is no object, Auto-Convert do nothing.
(http://www.theswamp.org/screens/Andrea/Dilconvert.gif)
- DiLEADER will now draw the Leader perpendicular to the object.
(http://www.theswamp.org/screens/Andrea/perpendicular.bmp)
- Object switch ! this new feature was added on Qleader entity and allow user to
replace object pointed by the Leader.
(http://www.theswamp.org/screens/Andrea/DilObjectSwitch.gif)
I think that last feature is cool, and i'll work on it to improve this tool.
Enjoy ! and have a nice weekend all !
-
WOW! you have outdone yourself again.
All works great. I need to find out how you put the little arrow at the cursor on DiLedit.
Very Nice.
Kevin
-
OMG yes the perpendicular thingy is very cool ! :lol:
Must say it gets better every time !
I have tried to give you an example "of the switch I mentioned" but I could not create a situation in wich it would be needed. I have come across a situation once where it did not do what I wanted but since I can't create such situation myself: please ignore my silly idea, it was maybe a bit too far. (Modify the code for such small thingy... :pissed:)
Great work !
I (and many others) allready await your new project whatever that me be !
-
simpl awesome andrea -- Thanks!!!
-
Thanks to you guys...you comments and suggestions was helpful.
Many other project on the table....
But I think that LeeMac have same project list ! ;-)
Time is missing a bit....but I"ll be back with more soon.
thanks.
Andrea
-
Thanks to you guys...you comments and suggestions was helpful.
Many other project on the table....
But I think that LeeMac have same project list ! ;-)
Definitely :wink:
Great work here Andrea, I look forward to seeing your next projects :-)
-
Hi Andrea,
I am sorry to say but I tried the code and there is something wrong ... can't help you to find out where it goes wrong but this is what happens:
Command:
DILA
(T)ext/(M)text ?<M>:
Do you want Multiple Object Selection ?(Y)es/(N)o ?<NO>:
Text: TEST
Select Object...
Pick Text location...
bad DXF group: (10)
In my case this happens on a pline whenever the dila gets to 0 degrees or to 180degrees.
If it is a Pline on the x axis it's okay. Dila on a pline other than that don't seem to work.
Here is a link to a short video of what happens, maybe it is useful for you.
http://www.freewebtown.com/engl/dila_prob.avi (http://www.freewebtown.com/engl/dila_prob.avi) (Rightclick and save as)
The 90 degree angle is very nice, can that be done to on vertical lines?
-
ok thanks....
i'll be back with the fix.. ;-)
-
There we go...
DiLEADER v.2.2.7
D y n a m i c I n t e l l i g e n t L e a d e r
The problem was with the wipeout on horizontal Leader. ;-)
I also add an English/French translation messages.
:police:
-
(http://img.smileys.nl/405/thumbsup.gif) You did it. Great Work, Tnx.
-
Hello Andrea,
Do you have any idea why I encounter the following problem?
Whenever I open a new drawing (from scratch) the DILA leader is perpendicular to the line / object as it is supposed to be. So that's good.
In some occasions, for example existing drawings in wich I used an early version of "dileader", the dileader stays the way it was / is. So not perpendicular.
I tried to erase all the dileaders and apply new ones but it don't seem to work. They stay not-perpendicular.
I figure you have set something in the windows register... true? And how can I (or you) fix this? For the perpendicular dileaders are much more attractive to see on an actual drawing when it is plotted.
Maybe it is a drawing specific parameter, but I can't find out which.
So please help, so I can continue using the dileader. It is stil a great routine!
-
Hello Andrea,
Do you have any idea why I encounter the following problem?
Whenever I open a new drawing (from scratch) the DILA leader is perpendicular to the line / object as it is supposed to be. So that's good.
In some occasions, for example existing drawings in wich I used an early version of "dileader", the dileader stays the way it was / is. So not perpendicular.
I tried to erase all the dileaders and apply new ones but it don't seem to work. They stay not-perpendicular.
I figure you have set something in the windows register... true? And how can I (or you) fix this? For the perpendicular dileaders are much more attractive to see on an actual drawing when it is plotted.
Maybe it is a drawing specific parameter, but I can't find out which.
So please help, so I can continue using the dileader. It is stil a great routine!
Hi, could you provide a drawing who have the problem ?
i'll check that soon.
thanks.
-
Hello Andrea,
Attached i send a lisp that make automatic numbering, 1,2,3...etc. Can you modify your lisp to do automatic numbering when Dynamic Intelligent Leader is inserted? I mean, to insert an Dynamic Intelligent Leader with "1" text, then 2, 3.... Thanks!
-
Andrea, I would love to see this use mleaders instead of standard leaders, as they tend to work better with annotation scaling.
-
Hi Flopo and. Mr. Wade
thanks for your suggestions...
DiLeader will be improved soon to allow more flexibility and more options..
at the moment...i'm trying to fix some little bug and be back with a new release.
Thanks. :-)
-
nothing new here? :)
-
nothing new here? :)
Yep !..
DiLEADER will be remake to allow user more flexibility and productivity.
first, the DiLConfig panel will be improved and allow more options.
Below, a Gif showing you 2 more modif.
- Reactor on Text Moved, scaled and/or rotated will be added
- DilAttach command will allow user to select via "crossing" objects.
also, I take this moment to announce you that I have grouped all my Dynamic Routine on my server.
http://www.ductisoft.com/FreeLisp/freelispwebsiteEN.html (http://www.ductisoft.com/FreeLisp/freelispwebsiteEN.html)
For now,.. I am still working on DilLeader and come back shortly.
thanks all.
-
Great work !
thanks very much
-
Great work !
thanks very much
Thank you Xianaihua ! and welcome !
I thing that DiLeader is popular ...or will be.
It bring some new user on theswamp !
aerdvark, zanze02, hugo, measureup, and now you Xianaihua.
Thanks to you guys for taking time to register to theswamp and put at the first post a comment like you did.
I won't let you down ..and I'll be back with a new version shortly.
Andrea.
-
Hi all..
Like promised...
DiLEADER 2.2.8
Dynamic Intelligent Leader
is now released !
Bug Fix:
- Fix UCS-WCS and block rotation revised
- Fix Wipeout for Leader UCS-WCS
New Features:
- No more settings in registry -> replaced with dlconfig.cfg file
Allowing user to have same config by sharing this file over a network
- Reactor improved to allow to move stretch and scale any object and TEXT in the drawing.
- DilAttach allow now crossing selection object.
- DilConfig dialog Improved and use now ObjectDCL technology.(not provided)
- New Auto-Numbering Leader allowing many diffrent auto-Numbering style.
- New command list and features are in the help file provided in the installation zip.
2 Help file (English and French)
- Dialog Box can be edited via custom language files provided with the installation.
(Included: English,Francais,Allemand,Albanais,Portugal,Italiano,Island)
don't be shy to create your own language file and share with all.
Below, a gif showing DilAttach via crossing object.
(http://www.theswamp.org/screens/Andrea/2.2.8im2.gif)
Below, a gif showing New Dialog interface.
Note the Tab-Drop-Down menu at the top left. ;-)
(http://www.theswamp.org/screens/Andrea/dialogBox.gif)
Below, some gif showing diffrent Auto-Numbering options and result.
(http://www.theswamp.org/screens/Andrea/auto-numb1.gif)
(http://www.theswamp.org/screens/Andrea/auto-numb2.gif)
(http://www.theswamp.org/screens/Andrea/auto-numb3.gif)
(http://www.theswamp.org/screens/Andrea/auto-numb4.gif)
(http://www.theswamp.org/screens/Andrea/auto-numb5.gif)
(http://www.theswamp.org/screens/Andrea/auto-numb6.gif)
To come...
- Leader dimension custom variables and vertical line option (see below)
- Block insertion (see below)
Enjoy !
-
Great job
(1) how do you bring up the config dialog box?
(2) how do I keep the leader style from changing back to the default whenever I move the reactor object that the leader is pointing to?
(3) can you list all of the routines commands.
-
thank you Gary..
(1) how do you bring up the config dialog box?
Same as the older version..."DILCONFIG" command
(2) how do I keep the leader style from changing back to the default whenever I move the reactor object that the leader is pointing to?
I do not change any leader style. It must keep the existing leader style.
(3) can you list all of the routines commands.
DiLEADER come with HELP file. "dileader_en.mht" and include all screen shot and detailled informations.
-
Thanks
How about selecting textstyle and leader layer option.
Thanks again for sharing your routine.
-
Thanks
How about selecting textstyle and leader layer option.
Thanks again for sharing your routine.
Nice Idea..
do you have any suggestion on how you want to use the layer options and textstyle ?
-
I love this routine, great work, very impressive!!!!! :-o Is there any way to make the leader a curved spline?
-
Very impressive Andrea, I must say.
This program certainly out-does all your other free dynamic programs combined! And the huge amount of work, time and effort that you have ploughed into this project is evident. I admire your generosity with this program, as you could probably make quite a bit of money from it - like the others on your site.
And the suggestions keep on coming - you've certainly got your work cut out!
Lee
-
From a popup dialog list of styles and layers to choose from. Something like the small dialog pictured, maybe.
-
I love this routine, great work, very impressive!!!!! :-o Is there any way to make the leader a curved spline?
I think yes..need to try that option.
thanks for the Idea. :roll:
-
Very impressive Andrea, I must say.
This program certainly out-does all your other free dynamic programs combined! And the huge amount of work, time and effort that you have ploughed into this project is evident. I admire your generosity with this program, as you could probably make quite a bit of money from it - like the others on your site.
And the suggestions keep on coming - you've certainly got your work cut out!
Lee
Thanks Lee, I admire also all your work !
-
From a popup dialog list of styles and layers to choose from. Something like the small dialog pictured, maybe.
Yes Gary, This can be done..
thanks for the suggestions.
How about to manage Leader Layer ?
-
From a popup dialog list of styles and layers to choose from. Something like the small dialog pictured, maybe.
Yes Gary, This can be done..
thanks for the suggestions.
How about to manage Leader Layer ?
I would have both as popup_lists instead of list_box - as these can take up less room and can be nestled into a boxed_column/row on the dialog - but then perhaps more can be done with ObjectDCL :wink:
-
From a popup dialog list of styles and layers to choose from. Something like the small dialog pictured, maybe.
Yes Gary, This can be done..
thanks for the suggestions.
How about to manage Leader Layer ?
I would have both as popup_lists instead of list_box - as these can take up less room and can be nestled into a boxed_column/row on the dialog - but then perhaps more can be done with ObjectDCL :wink:
thanks Lee.
Maybe by having a choice to add some string in current layer ?
eg:
New string "LEAD"
current layer: M-PLUM-E (Mechanical-Plumbing-Existing)
demanded layer: M-PLUM-*-E
result:= M-PLUM-LEAD-E
and also add Suffix and Prefix...
or replacing some string in existing Layer name.
eg:
New String:"LEAD"
current layer: M-PLUM-E (Mechanical-Plumbing-Existing)
demanded string to replace: PLUM
result:= M-LEAD-E
Because often some cie standard draw TEXT and LEADER on diffrent layer but in same discipline.
M-HVAC-UNIT-E
M-HVAC-TEXT-E
M-HEATING-DUCT-N
M-HEATING-TEXT-N
Hmmm..!!? is that make sense ? :?
-
Yes, but I wouldn't overcomplicate things :wink:
-
Yes, but I wouldn't overcomplicate things :wink:
It is not very important how complicated it is for me to develop a program...
I always learn and growing in my knowledge.. ;-)
I think the most important is that must be easy to use and offer more flexibility for the user.
:angel:
I have made some test with Spline Leader..
and seem to work..
-
Yes, but I wouldn't overcomplicate things :wink:
It is not very important how complicated it is for me to develop a program...
I meant complicated for the user to navigate... :wink:
-
Yes, but I wouldn't overcomplicate things :wink:
It is not very important how complicated it is for me to develop a program...
I meant complicated for the user to navigate... :wink:
Give the man the prize !!!
-
thanks Andrea
Great! Admire your work :lmao:
-
Hallo Andrea
Bei mir Funktioniert das Lisp nicht.
Habe aber die Opendcl installiert, oder funktioniert hier die Deutsche Version nicht von OpenDcl.
-
Hallo Andrea
Das ist meinen Fehlermeldung
-
Hugo, ich benutze ObjectDCL und nicht-Derivat.
Dileader soll trotzdem ohne den Dialog zu arbeiten.
Bitte lesen Sie die Dokumentation und / oder über die Google-Übersetzung übersetzt
http://translate.google.ca/?hl=fr&tab=wT # en | de | (http://translate.google.ca/?hl=fr&tab=wT # en | de |)
Danke.
-
Hallo Andrea
aber Dil funktioniert nicht mehr bei mit.
-
Mit welchem mehrere Modus aktiviert ist.
deaktivieren Sie es durch den Ersatz dieser Wert..
-
Hugo,
Könnten Sie nicht die Verwendung von Google Translate Ihre Beiträge vor der Entsendung zu übersetzen - es würde uns zu tun, es zu retten ...
Hugo,
Could you not use Google Translate to translate your posts before posting - it would save us from doing it...
-
My attitude is so like you.
Is that ok then?
Meinen Einstellung sind so wie bei dir.
Ist das ok so ?
-
und funktioniert es?
gibt es Fehlermeldungen?
_______________________________________
it is working ?
is there any error message ?
-
No, unfortunately, does not again
No, unfortunately, does not again
-
Hello
I tested it now on a 2 PC because it can not work.
Hallo
Habe es jetzt auf eine 2 PC getestet, da funktioniert es auch nicht.
-
was ist er eigentlich?
Gibt es eine Fehlermeldung generiert?
________________________________
what it is doing exacly....?
do you have any error message ?
-
These are my errors
Das sind meine Fehlermeldungen
-
@Hugo
in der Lisp-Datei ist einmal "program files" vllt. sollte es Programme (bzw. Install-Path der Routine) bei dir heißen
P.S.: Man sollt sich den Geflogenheiten des Forums anpassen... die Masse spricht englisch
und wenn du es übersetzt, muss es nur "einer" machen, somit steigt deine Chance sinnvolle Antworten zu erhalten.
in the lisp-file is in one line "program files" perhaps it should be "programme"
or better something like this
...(getenv "programfiles")...
@Andrea
nice tool, thx for sharing
-
Hello
I've long since settled, the getvar Adjusted. see picture
P.S. As you have seen, I have translated the previous amount already in English.
Thanks for your note
-
This too?
(defun GetDilLanguageVersion ()
...
(findfile (strcat "C:\\program files\\ductisoft\\dileader\\" CFGo_5 ".lpk")))...
-
Yes, even the
-
objectdcl istalliert und es läuft? objectdcl installed and it works without an error?
supportpfad zum dileaderverzeichnis gesetzt? support path to dileader?
acad neugestartet und dileader geladen? (without errors)? start acad new and load dileader?
verzeichnis siehe oben ggf. geändert auf Programme? change the path (look up) to Programme?
welche acad version ist in Benutzung? which version of acad you use?
-
Yes there is error. See picture
Autcad 2010
But even last.
(defun PutAnnotativeObject (object)
(if (and (eq CFGo_6 "1")
(> (read (substr (getvar "ACADVER") 1 4)) 18.0)
)
(command "._chprop" object "" "_A" "_Y" "")
)
)
-
Hey Andrea, how the hell did you :-o create those little sliding tabs, Help & About ?? I have been trying to figure that out, but obviously you've done something weird (again) to accomplish this in ObjectDCL because i cannot find any function that does that kind of stuff. If you're willing to reveal your secret, i'll be attentive :angel:...
I think it's really sharp lookin'....amazing job again..Thanks....!!
-
Hugo,...
Sorry if it do not work for you..
I've realised that i have miss some (getenv "programfiles")...
I'll make more test and rearange that on the next release.
Seb...
I'm happy to see that you have note this TAB-DROP-DOWN tool..;)
i'll come back with my secret on how to make this thing on the ObjectDCL forum.
-
Hallo Andrea
Danke
-
Hey Andrea, how the hell did you :-o create those little sliding tabs, Help & About ?? I have been trying to figure that out, but obviously you've done something weird (again) to accomplish this in ObjectDCL because i cannot find any function that does that kind of stuff. If you're willing to reveal your secret, i'll be attentive :angel:...
I think it's really sharp lookin'....amazing job again..Thanks....!!
There you go Sebb77
you will found the secret here (http://www.theswamp.org/index.php?topic=31381.msg369559#msg369559)
:kewl:
-
Hi Andrea,
I have been meaning tot ask you this before.
How come that whenever I have used dilleader in a drawing the "previous" function (when selecting objects) is being disabled?
Example: if I use "move" and then select an object, I can do as I want.
When the "move" command ends and I repeat move, or enter "copy" I very often use the "p" for previous selection.
When entering "p" autocad selects one of the "dilleaders" I have created with your program.
What to do?
-
Hi Andrea,
I have been meaning tot ask you this before.
How come that whenever I have used dilleader in a drawing the "previous" function (when selecting objects) is being disabled?
Example: if I use "move" and then select an object, I can do as I want.
When the "move" command ends and I repeat move, or enter "copy" I very often use the "p" for previous selection.
When entering "p" autocad selects one of the "dilleaders" I have created with your program.
What to do?
nice Catch Aerdvark !
I've never realized that.
This will be fixed on next release. Thanks.
-
Allright, that would be great !!!
-
very impressive. what I would like to learn is how to make that leader rubberband like that.
-
very impressive. what I would like to learn is how to make that leader rubberband like that.
Welcome to the Swamp GuitarGuy :-)
Look into the GrRead function for rubberbanding and the like :wink:
Great link here (http://www.theswamp.org/index.php?topic=12813.0)
Lee
-
How easy it is to create Leader and identify multiple object with DiLeader.. :roll:
But...
How easy it is to Align all these Leader to provide Good quality Drawing ? :realmad:
Easy as DiLAlign....
Comming Soon on Future release... :kewl:
-
Nice idea! :-)
-
thanks Lee...
I was inspired by this (http://www.theswamp.org/index.php?topic=29923.msg354800#msg354800)
;-)
-
There we Go..
DiLEADER 2.3.0
Dynamic Intelligent Leader
Bug Fix:
New Commands and/or Options:
- DilFSL, DilGAPx, DilGAPy command allow now to adjust the first line location from the text.
- DiLalign command allow user to aline all Leader created with DiLeader. (shift key is used to aline on Y axis)
some Gif.
Enjoy !
-
Andrea,
Am I doing something wrong??
Command: appload
dileader2.3.0.LSP successfully loaded.
Command: ;Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "pref" 0 "suff" "1" "48" "x" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
; error: bad argument type: streamp nil
Command:
All I did is load it.... Maybe a little, tiny, problem / bug?
-
Hallo Andrea
Do not know what I am doing wrong
Command: dilalgin
Unknown command "DILALGIN". Press F1 for help.
-
Hallo Andrea
Do not know what I am doing wrong
Command: dilalgin
Unknown command "DILALGIN". Press F1 for help.
Looks like you are spelling it wrong: DILALIGN
-
Thanks MAC
I have completely overlooked
Sorry
-
Hallo Andrea
And what has it here
Befehl: dilconfig
no function definition: Odcl_LoadProject
-
Does one need to install object dcl?
-
What I have just invite you to explain it to me please.
Thanks
-
Andrea,
The higher ups here have decided that we need administrative priviledges to install things on our "Program Files" folder. Would you be able to change your zip file so that I can browse for a folder to put in?
-
Andrea,
You did not say what the minimum requirements were.
What ACAD version is required to run this routine?
-
Well you'r right..
I miss to explain how to install..sorry for that.
attached on this post, a ZIP file containing all necessary files
that need to be extracted to c:\program files\ductisoft\DiLeader\
LSP = file source to load in autoCAD
VLX = compiled LSP file automaticly loaded by LSP.
mht = Help files
cfg = configuration of DiLeader settings.
ods = Dialog file can be viewed only if ObjectDCL is installed.
Kds = signature file allowing to view the Dialog without activate ObjectDCL.
lpk = Language Pack file can be edited using notepad.
gif = animated Gif file required when about button is pressed.
Required:
but don't forget that the dialog is only an interface who change only some parameter in CFG file
that can also be edited with notepad.
Tested on AutoCAD 2006 -> 2010
the exe file is an self extractor created with WinRaR who will extract all file in the specific folder
and start the "thanks.mht" file after the extraction to explain how it work.
I work a lot to create 2 help files (english and French) with screenShot and animated Gif.
Please don'T be shy to ask any questions...
thanks.
-
Thanks Andrea ;-)
-
Cool, Andrea.
Beautiful lisp.
I see a lot of aplications in what I do. :lol:
But one thing bothers me, I have not found how to impose a distance between objects created!
Is it possible and how should I do?
Thank you for your explanations.
Postscript: I am really no English :realmad:
-
Sorry, I was wrong post.
I wanted to talk about Darray :oops:
-
Really quite amazing... you been offered a job at AutoDesk yet... and why not!! LOL
-
Cool, Andrea.
Beautiful lisp.
I see a lot of aplications in what I do. :lol:
But one thing bothers me, I have not found how to impose a distance between objects created!
Is it possible and how should I do?
Thank you for your explanations.
Postscript: I am really no English :realmad:
Hi Gilles..
I've never tought about that..
but it is a good idea....i'll add it on next release.
thanks.
Ca sera ajouté à la prochaine version.
merci pour cette idée.
;-)
-
Really quite amazing... you been offered a job at AutoDesk yet... and why not!! LOL
thanks RGUS...
I think I have anough job.... LOL !
-
Hi Andrea,
J'ai des difficultés pour faire fonctionner DiLeader correctement.
Sous dilconfig, j'ai un message d'erreur à la validation:
"Commande: dilconfig
Demande ADS erronée
type d'argument incorrect: fixnump: nil1"
J'utise la v2.3.0, mais 2.2.8 est affiché!
Où est le problème?
I have difficulty operating properly DiLeader.
Under dilconfig, I get an error at validation:
"Commande: dilconfig
Demande ADS erronée
type d'argument incorrect: fixnump: nil1"
I use the v2.3.0 but 2.2.8 is available!
Where is the problem?
-
Hi Andrea,
J'ai des difficultés pour faire fonctionner DiLeader correctement.
Sous dilconfig, j'ai un message d'erreur à la validation:
"Commande: dilconfig
Demande ADS erronée
type d'argument incorrect: fixnump: nil1"
J'utise la v2.3.0, mais 2.2.8 est affiché!
Où est le problème?
I have difficulty operating properly DiLeader.
Under dilconfig, I get an error at validation:
"Commande: dilconfig
Demande ADS erronée
type d'argument incorrect: fixnump: nil1"
I use the v2.3.0 but 2.2.8 is available!
Where is the problem?
Ok Gilles,...what version of autoCAD are you using ?
is that error message is present in any drawings ?
-
I use autoCAD 2009
Yes, this error message is present in every drawings.
-
Bonjour à tous.
J'ai désinstallé la v2.3.0, redémarré l'ordinateur et réinstallé v2.3.0.
Le lisp ne se charge plus du tout. :-(
Copie d'écran:
Hello everyone.
I uninstalled the v2.3.0, rebooted the computer and reinstalled v2.3.0.
The lisp is not charging anymore. :-(
Screenshot:
Merci de m'aider.
Thank you for helping me.
-
Salut Gilles..
s.v.p. vérifie ton fichier DLCONFIG,CFG, il doit resembler a ceci:
Le message d'erreur semble dire qu'il n'y a aucune valeur sous "Leader GAP Y..."
;Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
Francais
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
C:\test_dessins\leadersarrow
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "" 1 "" "A" "A" "+" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
0
Please check your DLCONFIG.CFG file. it must contain someting similar of this.
The error message seem that you have no value on Leader GAP on Y axis.
Could you confirm ?
Merci.
-
Salut Andrea.
J'ai remplacé le fichier config par celui que tu viens de donner car il était différent. Je mets l'ancien en pièce jointe.
Le lisp ne fonctionne toujours pas, mais le message d'erreur n'est plus le même.
Copie d'écran.
Hi Andrea.
I replaced the config file that you just give because it was different. I put the old in attachment.
The Lisp does not work, but the error message is no longer the same.
Screenshot attached.
-
Salut Gilles,..
Could you give this a try ?
-
Salut Andrea.
Désolé, çà marche pas.
Message en ligne de commande:
Commande: appload
dileader2.3.1.LSP correctement chargé(s)
Commande:
DiLEADER version v.2.3.0 par: Andrea Andreetti
type d'argument incorrect: stringp nil
Commande:
Commande: dil
Commande inconnue "DIL". Appuyez sur F1 pour obtenir de l'aide.
J'ai remplacé dileader2.3.0.lsp par dileader2.3.1.lsp dans le dossier C:\Program Files\DuctiSoft\DiLeader2.3.0
Testé aussi avec dileader2.3.1.lsp seul sur le bureau.
J'ai dans tous les cas le message cité plus haut. :|
Andrea, je suis désolé pour ces complications.... :|
Suis-je le seul à avoir ce problème?
Hi Andrea.
Sorry, not work here.
Message command line:
Commande: appload
dileader2.3.1.LSP correctement chargé(s)
Commande:
DiLEADER version v.2.3.0 par: Andrea Andreetti
type d'argument incorrect: stringp nil
Commande:
Commande: dil
Commande inconnue "DIL". Appuyez sur F1 pour obtenir de l'aide.
I replaced dileader2.3.0.lsp by dileader2.3.1.lsp in the C:\Program Files\DuctiSoft\DiLeader2.3.0
Tested also with dileader2.3.1.lsp alone on the desktop.
I have in all cases the message quoted above.
Andrea, I am sorry for these complications .... :|
Am I the only one having this problem?
-
@Gilles
Am I the only one having this problem
No, I feel the same way.
Nein geht mir genauso.
-
Bonjour Hugo.
Tu me rassures. :-P
Hello Hugo.
You reassure me.
-
well,..anybody else have same problem ?
:?
-
I have not read all post but is ObjectDCL installed properly?
-
I have not read all post but is ObjectDCL installed properly?
I don't think that ObjectDCL will interfere on this lisp because it is only needed to edit the configuration file.
so I have made more tests with some other and new users..but no one have this error message.
It is a little hard to find when i'm unable to reproduce the error. :oops:
so if you can zip and send me your actual Dileader folder...i'll take a look.
désolé Gilles, j'essai de voir mais je n'arrive pas a reproduire le problème.
pourrais-tu me fournir tout l'ensemble de ton répertoire Dileader ? je vais le copier intégralement.
Merci/Thanks.
-
Hallo Andrea
Can this have something to do with Win 7 and 64 bits.
Kann das was mit Win 7 und 64 Bit zu tun haben.
Danke
-
Salut Andrea.
Ci-joint le dossier demandé.
Ma config 32bits:
Windows XP pro SP3
nvidia quadro fx 1800
autocad 2009 v4
objectDCL-ARX-7.2.0 + autoBATCH 2010 100 32b
-
I get this message
Ich bekomme diese Meldung
Befehl: (LOAD "C:/Program Files (x86)/DuctiSoft/DiLeader/dileader2.3.1.LSP")
;Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "pref" 0 "suff" "1" "48" "x" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
; Fehler: Fehlerhafter Argumenttyp: streamp nil
-
Salut Gilles,..
Could you give this a try ?
I gave a try and this is the result
Command: (LOAD "C:/Documents and Settings/Hasan/Desktop/dileader2.3.1.LSP")
;Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "pref" 0 "suff" "1" "48" "x" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
_.layer
Current layer: "0"
Enter an option
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock
/stAte]: set
Enter layer name to make current or <select object>: Enter an option
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock
/stAte]:
Command: ; error: An error has occurred inside the *error* functionAutoCAD
variable setting rejected: "cmdecho" nil
Command: dileader
Unknown command "DILEADER". Press F1 for help.
and one more question
is there an *.ARX file to give the ability to use *.ODCL files
-
I believe that here is where the error occurred.
Find the mistake but no.
Believe a bracket is the false or missing.
Ich glaube das hier wo der Fehler liegt.
Finde aber den Fehler nicht.
Glaube ein Klammer ist das Falsch oder Fehlt.
;| ;;
FILE CONFIG WRITE ;;
|;
;;
(defun dil_FCW ();pipo1
(if (not CFGo_10)(setq CFGo_10 "0"))
(if (not CFGo_11)(setq CFGo_11 "0"))
(if (not CFGo_12)(setq CFGo_12 "0"))
(setq cfgo (open (strcat cfgf "dlconfig.cfg") "w"))
(write-line (strcat
";Mask type 0=none 1=Wipeout
" CFGo_1
"
;Multi-Selection 0=No 1=Yes
" CFGo_2
"
;+ or - Key for Arrow size is activation 0=No 1=Yes
" CFGo_3
"
;Convert Qleader to DiLEADER 0=No 1=Yes
" CFGo_4
"
;Language
" CFGo_5
"
;Convert DiLEADER to annotative object
" CFGo_6
"
;Custom Arrow Path
" CFGo_7
"
;Use default 0=Text or 1=Mtext
" CFGo_8
"
;Auto-Numbering
" CFGo_9
"
;Leader end Length
" CFGo_10
"
;Leader Gap X axis
" CFGo_11
"
;Leader Gap Y axis
" CFGo_12
)
cfgo
)
(close cfgo)
)
;;
;| ;;
FILE CONFIG WRITE ;;
|;
;| ;;
FILE CONFIG READ ;;
|;
;;
(defun dil_FCR ()
(if (not (findfile (strcat cfgf "dlconfig.cfg")))
(progn
(setq cfgo (open (strcat cfgf "dlconfig.cfg") "w"))
(write-line
";Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 \"pref\" 0 \"suff\" \"1\" \"48\" \"x\" \"1\" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
" cfgo
)
(close cfgo)
)
)
-
Sorry,...but the bracket are the same and.
Gilles, your files work ok for me...tested on 4 PC at office and my personal PC.
Some of My friends also use DiLeader and have no problem.
so now...i'm stucked. until I can't reproduce the problem...I can't unfortunatly help you.
Please check your PM maybe we need to exchange more information and make more test together.
sorry about all the inconvenient. :oops:
-
any chance this will work in AutoCAD MEP 2011?
in addition - why is the ObjectDCL necessary??? any chances of eliminating that portion???
don't want to pay for something just for a LISP that may not even work in my version of ACAD - plus I HATE DIALOG BOXES - THEY ARE A WASTE OF TIME!!!!!
-
any chance this will work in AutoCAD MEP 2011?
in addition - why is the ObjectDCL necessary??? any chances of eliminating that portion???
don't want to pay for something just for a LISP that may not even work in my version of ACAD - plus I HATE DIALOG BOXES - THEY ARE A WASTE OF TIME!!!!!
erratic,
First, thank you for your post.
DiLeader wasn't tested on MEP maybe you can give me some hint on where the bugs are ?
also, the program work with and without ObjectDCL. The dialog is only a way to modify the settings in the config file.
Another thing is...all Free Program remain FREE. that mean that you don't have to pay nothing for it. ObjectDCL work on signed project.
oh !...and welcome to the swamp. ;-)
-
I get this message
Ich bekomme diese Meldung
0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "pref" 0 "suff" "1" "48" "x" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
; Fehler: Fehlerhafter Argumenttyp: streamp nil
DiLeader2.3.0.zip from Gilles and Andrea
Windows 7 64bit
AutoCAD 2011 64bit
-
Hi Mexxx_..
First, welcome to theswamp. ;-)
I would like to know more about the bug.
Is the installation made in "program files (x86)" ?
-
Hi Andrea,
The installation is made in:
C:\Program Files (x86)\DuctiSoft\DiLeader\dileader2.3.1.LSP
-
ok thanks...
Let me check the installation package on 64 bits and i'll be back shortly.
-
any chance this will work in AutoCAD MEP 2011?
in addition - why is the ObjectDCL necessary??? any chances of eliminating that portion???
don't want to pay for something just for a LISP that may not even work in my version of ACAD - plus I HATE DIALOG BOXES - THEY ARE A WASTE OF TIME!!!!!
LMFAO... I so love dialog boxes... after 20 years of using AutoCAD, even from the MS-DOS days... how could you not do without them... are you new to AutoCAD?
-
Hi all,..
sorry for the delay,..
you will find here the patch release,..
tested on xp32, xp64, win7-32, win7-64...
Thanks.
-
Hi Andrea!
Thanks for share your program!
But I can't use it, I can't load a dialog box like somebody, it ask me about object DCL and request to install. Then I download Object DCL on the web as your link. It is trial version about 5 days for use. As on my screen (in CAD) is notice: Restart CAD; and nothing happen. I don't see a flie as *.DCL to call a box (I think that because I'm newbie CADer), would you help me? Sry all about not well my English. :lol:
-
Hello,
In order to run the program properly you should download the latest version of this program from the Ductisoft website. I can help you get started:
http://www.ductisoft.com/downloads/lispfiles/lisp_dileader.zip
Download it and unzip it to a folder somewhere you like.
Next download the patch wich is posted by Andrea 1 post before yours.
Open the file, and unzip the files inside to the other folder wich you created earlier.
If prompted to overwrite: allow. That way some issues are being solved.
Now install the program, as you would do normally.
During install, the ObjectDcl.arx runtime extension is also installed.
This software is required to be able to use the dialogs wich are created by ObjectDcl.
It is free so no worries.
If you still have problems let me know.
Good luck with it!
-
Thanks Bilancikur..
maybe you must work for ductisoft.. :)
First, tanbqtb03
welcome to theswamp ! :)
ObjectDCL ARX need to be installaed on your PC, but do not need to be activated on tools provided with signature.
It is Free.
If you have problem with installation of ObjectDCL please note that DuctiSOFT have contact emails for support.
but... lets share the information.
If you have Windows Vista or Seven, you must disable the notification of program modification in the user acount before installing ObjectDCL.
see:
http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/ (http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/)
let me know if you have any other issue.
thanks.
-
Can you post your tut of program on this thread? I thinks its usefull for the newbie! Thanks for your reply.
-
Can you post your tut of program on this thread? I thinks its usefull for the newbie! Thanks for your reply.
What came up in my mind: "Why don't I just install it on his PC, that would be even easier for him." :ugly:
I would recommend you to at least try to do it yourself. Most of us are willing to help you with almost every problem you may encounter. So give it a shot and tell us if you like the program, or what may be the problems.
@ Andrea: I would love to join in but there is no way you can afford me :lmao:
-
This looks great, but I've run into an issue.
I'm using AutoCAD MEP 2012
My text and leaders are tiny. By default, I use all annotative text/dimstyle/leaders. Even when I select "Use Annotative Object", it changes nothing, everything's still tiny.
So far, my fix was to change:
(setq dl_textsize (* (getvar "DIMSCALE") (getvar "DIMTXT")))
to
(setq dl_textsize (* (/ 1.0 (getvar "CANNOSCALEVALUE")) (getvar "DIMTXT")))
to get my text the correct size.
I can't find the proper line for the arrow size, though.
-
Hey Lee Roy...
First,...welcome to this magnific forum....theswamp. !
thank you for sharing this information...
some question regarding this issue...
what it your insunit, insunitsdeftarget and insunitsdefsource setting ?
I don't realy remember if I've used them.....or maybe dimasz variable..
I leave this code on ice too long. :)
-
Thanks for the welcome! Been a long-time lurker, several years, just never posted.
insunits=1
insunitsdeftarget=1
insunitsdefsource=1
dimasz=.09375 (3/32")
What I found to 'make it work' for the time being, was to change
(if (eq cfgo_3 "1")
(vla-put-arrowheadsize
(vlax-ename->vla-object llead)
Arsize
)
)
to
(if (eq cfgo_3 "0")
(vla-put-arrowheadsize
(vlax-ename->vla-object llead)
Arsize
)
)
I'm not trying to tell you how to change your lisp (you're far better at this than me), just what my short term solutions were, in case it helps you with any further development.
It's a GREAT lisp and everyone loves it. Great job!
-
Hello Andrea,
I'm new here and I found this tool by searching with "LEADER".
I must say this tool is AWESOME !.
I seriously think that this tool should be included in AutoCAD itself or have something similaire.
DILEAER aptly named.
However, I have not managed to make it work, I'm not an expert in AutoLISP.
so if you can help me I would appreciate it.
Thank you very much.
Clina.
-
Hi Clina,
Thank you.
do you have any error message or something that it can help me resolve the problem ?
saying that you can run it can't help me.
oh,....and welcome to theswamp ! :)
-
Hi Andrea,
First thanks for this great contribution to the Autocad-world.
There seems to be a problem with the vertical alignment of MTEXT. At least DIL seems to handle MTEXT different from TEXT. My geometrical configurations are all set to zero. Also the length of the extension-line is different. Also the auto-numbering treats TEXT and MTEXT different. All of this can be seen in the attached screen-shot. The picture shows the status after i did a "diledit" (moving them around) on both DiLeaders.
I am using Auotcad vanilla 2011.
Kind regards, Stephan
-
Hi AutoCART
thank you..for the feedback,
I'm actually soo busy right now, sorry for all inconvenience,
But it will be great if you write me an email describing the issue with screen shot and maybe the dwg.
I'll look at it when I'll have 2 min.
Meanwhile,...could you check if your Textstyle have any dimention or some default settings ?
just curious.
thanks.
-
Bonjour,
J’ai un bug avec Dileader pour attacher un texte existant avec la fonction DilAttach
Autocad MEP2012
je lance en premier la commande DilAttach, (me demande de sélectionner un texte), je sélectionne le texte, (me demande de choisir un objet), je sélectionne un objet, et valide
Autocad affiche un message : "Le serveur ActiveX a renvoyé une erreur: Paramètre non facultatif"
La ligne d’attachement est bien dessinée, mais pas de liaison avec le texte ou la ligne.
Si je lance la commande Dil en premier, et ensuite lance Dilattach elle fonctionne (ensuite plus besoin de lancer Dil)
Il semble que si la fonction Dil initialise des paramètres pour pouvoir fonctionner ?
--------------
hello,
I have a bug with Dileader to attach an existing text with the function DilAttach
Autocad MEP2012
I run the first command DilAttach (asks me to select text), I select the text, (asked to choose an object), I select an object and valid
AutoCAD displays a message: "The ActiveX server returned an error: not Optional"
The attachment line is drawn, but no connection to the text or line.
If I run the command Dil first, and then launches Dilattach it works (then need to launch Dil)
It seems that if the Dil function initializes parameters to function?
-
Salutations Astérix,..
Premièrement, bienvenue sur TheSwamp. :)
Merci pour ton rapport de "Bug", Il y a bien longtemps que je n'ai utiliser DiLeader,.
je vais voir ce que je peux faire pour aider et te reviens bientôt.
mais d'après mes souvenirs,..Dil, est un raccourcis vers DiLeader, donc n'intialise rien de plus.
reste à vérifier.
Tu peux communiquer avec moi directement via mon adresse e-mail. :)
Merci. (https://translate.google.com/?hl=fr#fr/en/Salutations%20Ast%C3%A9rix%2C..%0A%0APremi%C3%A8rement%2C%20bienvenue%20sur%20TheSwamp.%20%3A)%0AMerci%20pour%20ton%20rapport%20de%20%22Bug%22%2C%20Il%20y%20a%20bien%20longtemps%20que%20je%20n'ai%20utiliser%20DiLeader%2C.%0Aje%20vais%20voir%20ce%20que%20je%20peux%20faire%20pour%20aider%20et%20te%20reviens%20bient%C3%B4t.%0Amais%20d'apr%C3%A8s%20mes%20souvenirs%2C..Dil%2C%20est%20un%20raccourcis%20vers%20DiLeader%2C%20donc%20n'intialise%20rien%20de%20plus.%0Areste%20%C3%A0%20v%C3%A9rifier.%0A%0ATu%20peux%20communiquer%20avec%20moi%20directement%20via%20mon%20adresse%20e-mail.%20%3A)%0AMerci.)
-
Hi Astérix,
the issue is now fixed, thank you for reporting it.
DiLeader adept ! :)
New version is available for download.
->Download Link<- (http://www.ductisoft.com/downloads/dileader_setup.zip)
Enjoy !
-
Hi Andrea,
I have installed this very useful looking utility, but need a little help to get it running.
Please can you assist with this error?
(LOAD "C:/Program Files/DuctiSoft/DiLeader/DiLeader.LSP") ; error: bad argument type: stringp nil
Kind regards, Robbo.
-
omg...:/ I can't beleive ...
I've made so many test before releasing it...
unistall and reinstall on diffrent machine .. :/
sorry for that...:(
do you think that it will be possible to be connected with teamviewer ?
may I ask you wich OS platform and Cad release you are using ?
thank you for reporting all issue.
-
do you think that it will be possible to be connected with teamviewer ?
may I ask you wich OS platform and Cad release you are using ?
thank you for reporting all issue.
Not sure about teamviewer
Using Windows 7 Enterprise SP1 and AutoCAD 2014 SP1
Thanks, Robbo
-
Well,..
I don't know what to say...
I've just tested on fresh computer,... win7 without ObjectDCL on CAD 2013,2014 and 2015...and all work great.
any more information about this will be helpful..
if you had old release before...please uninstall it and/or delete the entire installation folder.
also...be sure to remove all registry information.
\HKEY_CURRENT_USER\Software\DuctiSoft\DiLeader
please let me know if someone else have same issue..
thank you.
-
Nope. Still no joy :-(
Thanks for your time and efforts Andrea.
All the Best, Robbo.
-
thank you Robbo..
Sorry that I can't help you..
without being able to reproduce the issue....is hard to check what is going wrong..:\
if someone else can provide some feedback it will be appreciated..
thank you.
-
Andrea,
Few things I noticed
This line of code:
(setq cfgo (open (strcat Dil_installdir "dlconfig.cfg") "w"))
Should that not be:
(setq cfgo (open (strcat Dil_installdir "\\" "dlconfig.cfg") "w"))
In fact, I find multiple instances of these:
(setq cfgo (open (strcat Dil_installdir "dlconfig.cfg") "r"))
After changing these it seems to work but the ObjectDCL part does not work.
It needs this file (in AutoCAD 2015):
"c:\\Program files\\DuctiSoft\\ObjectDCL ARX\\ObjectDCL.20.arx"
But this is not availabe in my ObjectDCL installation.
I have no extra time to spend on this one so I hope this helps you to fix it.
Regards!
-
Thank you bilançikur...
attached the last release fixing this..
please let me know if all work great.
thank you.
-
Andrea,
This version is better indeed!
Thanks for the effort.
The program does not work in AutoCAD 2015 am I right?
Because the arx version should be 20 and not 19.
Regards,
-
Hi Andrea,
Some success. Now loads.
Command: (LOAD "G:/CAD/Transportation/AutoCAD/Lisp Routines/DuctiSoft/DiLeader/DiLeader.LSP")
DiLEADER version v.14.323 par: Andrea Andreetti - DuctiSoft inc.#<VLR-Command-Reactor>
BUT unable to configure fully with DILC command.
Command: DILC
;Mask type 0=none 1=Wipeout
0
;Multi-Selection 0=No 1=Yes
0
;+ or - Key for Arrow size is activation 0=No 1=Yes
1
;Convert Qleader to DiLEADER 0=No 1=Yes
1
;Language
English
;Convert DiLEADER to annotative object
0
;Custom Arrow Path
C:\test_dessins\leadersarrow
;Use default 0=Text or 1=Mtext
0
;Auto-Numbering
(1 "" 1 "" "A" "A" "+" "1" 1)
;Leader end Length
0
;Leader Gap X axis
0
;Leader Gap Y axis
0
bad argument type: streamp nilT
Kr. Robbo.
-
good news.. :)
I love people who give feedback..thank you very much.
attached, a debug version who will popup 6 alert box during the process..
I need to know where the program stop....so may you run this release and tell me the last alertbox shown please ?
Thanks.
-
Stops at step 6 for me.
Cheers, Robbo.
-
??
step 6 come after the DiLeader dialog shown.
do you have any error message after that or during showing alert box ?
-
Before Step6
; error: bad argument type: streamp nil
appears on clicking the 'Ok' or 'Cancel' button within the DiLeader config Panel.
Hope this helps. Robbo.
-
Thank you Robbo for helping me..
attached a new debug file..
1 alert box only showing some string...
please take time to make a screnshot and provide it..
second step...
windows explorer will bring you the log file...
please provide it as well.
this will help me alot.
Thank you.
-
Just to help, here's some extra info (I think)...
This version of the program runs like normal, only the difference in this "debug version" is when you try the command "dilc" or "dilconfig". Then the alert box will appear. Also, according to this part:
(setq debugf (open (setq logfilez (strcat Dil_installdir "\\DiLeader_Debug.log")) "w"))
there should be a log file in the folder "c:\Program Files\Ductisoft\DiLeader" at some point...
In AutoCAD 2015 it does run like it should, all fine thanks!
There is no log file however.
In case of ZWCAD:
See attachement, for what happens. The program does not work.
It seems the project is not loaded correctly.
Also, there is no log file in the folder.
-
Andrea,
Step1 image attached, but no DiLeader_Debug.log file created I am afraid.
Kr. Robbo.
-
Just to help, here's some extra info (I think)...
This version of the program runs like normal, only the difference in this "debug version" is when you try the command "dilc" or "dilconfig". Then the alert box will appear. Also, according to this part:
(setq debugf (open (setq logfilez (strcat Dil_installdir "\\DiLeader_Debug.log")) "w"))
there should be a log file in the folder "c:\Program Files\Ductisoft\DiLeader" at some point...
In AutoCAD 2015 it does run like it should, all fine thanks!
There is no log file however.
In case of ZWCAD:
See attachement, for what happens. The program does not work.
It seems the project is not loaded correctly.
Also, there is no log file in the folder.
thank you for the Info bilançikur
few questions if you don't mind..
-is the ZRX load correctly in ZWCAD ?
-is the dialogbox appear ?
-do you have same error as Robbo ?
thank you.
-
Please guys,..may you run the debug2 version... ?
-
Andrea, Snap shots of pop-ups attached below.
Please note I am unable to exit the DiLeader config Panel with the Ok button. Only Cancel will exit the dialog.
Hope this helps. Cheers, Robbo
-
Thank you Robbo for all your help and your patience..
this help me for sure..
attached a zip file containing some updated file.
please unzip in your installation folder and load the Dileader_debug.lsp file.
please provide all screenshot and error message if any.
thank you.
-
Andrea,
Are you ready?
...
-
...continued.
Cheers, Robbo.
-
Thank you Robbo,..:)
Please check this last version..
thank you.
-
Andrea,
unfortunately get a similar error with v.14.331. Debug version v.14.285 works as expected.
Command: (LOAD "C:/Program Files/DuctiSoft/DiLeader/DiLeader.LSP")
DiLEADER version v.14.331 par: Andrea Andreetti - DuctiSoft inc.#<VLR-Command-Reactor>
Command: DILC
ODCL_LM version 14.285 by DuctiSoft inc. - Enabled done.
; error: bad argument type: streamp nil
; error: bad argument type: streamp nil
; error: bad argument type: streamp nil
T
Command:
ODCL_LM version 14.285 by DuctiSoft inc. - Enabled
ODCL_LM version 14.285 by DuctiSoft inc. - Enabled
Command:
Command: (LOAD "C:/Program Files/DuctiSoft/DiLeader/DiLeader_debug.LSP")
DiLEADER version v.14.323 par: Andrea Andreetti - DuctiSoft inc.#<VLR-Command-Reactor>
Command: DILC
T
All the best, Robbo.
-
perfect.. :)
It seem that the error come when trying to write in the cfg file.
(setq cfgo (open (strcat Dil_installdir "\\dlconfig.cfg") "w"))
My you tell me the result of !Dil_installdir variable ?
-
Andrea,
Command: (setq cfgo (open (strcat Dil_installdir "\\dlconfig.cfg") "w"))
nil
Command: !Dil_installdir
"c:\\Program files\\DuctiSoft\\DiLeader"
All the best, Robbo.
-
ROBBO, I think Andrea is asking for what do you get after typing : !Dil_installdir at command prompt...
-
ROBBO, I think Andrea is asking for what do you get after typing : !Dil_installdir at command prompt...
Thanks ribarm - post modified to suit.
-
Andrea,
Command: (setq cfgo (open (strcat Dil_installdir "\\dlconfig.cfg") "w"))
nil
Command: !Dil_installdir
"c:\\Program files\\DuctiSoft\\DiLeader"
All the best, Robbo.
weird thing...:/
do you have write acces on this folder ?
what is your Operating System ? win 8 ?
-
Ahh! I agree, I am a weird thing. :-D
I only had write access when logged in as an administrator. Now changed folder location to have write access for normal login. Admin login is required to install exe and msi files.
Command: (LOAD "C:/Program Files/DuctiSoft/DiLeader/DiLeader.LSP")
DiLEADER version v.14.331 par: Andrea Andreetti - DuctiSoft inc.#<VLR-Command-Reactor>
Command: DILC
ODCL_LM version 14.285 by DuctiSoft inc. - Enabled done.
T
All is Good now - thank you.
-
ok thank you..
I'll provide un ZIP file instead an EXE.
thank again for all your Help.
Cheers. !
-
ok thank you..
I'll provide un ZIP file instead an EXE.
thank again for all your Help.
Cheers. !
Not a problem. Thanks for sharing.
-
There we go..
last version updated.
DiLeader v.14.355 (http://www.ductisoft.com/dileader.html)
enjoy ! :)
need to make the Zip file..
-
Hi Andrea, when I change values in DILC for Geometry parameters of Dileader, no changes are made to .cfg file (variables cfgo_10, cfgo_11 and cfgo_12 have 0 values after reading cfg file that is used in DIL command)... Is this possible to fix, or we have to use DILFSL, DILGAPX, DILGAPY commands to make those changes... To bad it won't work through dialog box... Anyway, else is fine and works brilliantly...
Thanks for this tool...
M.R.
-
Hello Andrea,
All Good!
I have a question for you: I have installed ObjectDCL ARX, and DILC works for me. But what I would like to do, is copy the ObjectDCL ARX folder to other users PC with Shell, which I have done and load in the ARX with a lisp. But the DiLC will not work and users get the error message to download ObjectDCL from website and install, although states arx is loaded. Is there a way to bypass this and register the arx?
Many thanks, Robbo.
-
Robbo, I think you have to install ObjectDCL from setup file that is packed into zip after you download correct version 32 bit or 64 bit from the link Andrea provided... Then if ACAD is 32 bit you'll probably miss this files that are installed when you setup 64 bit version... So I suggest that you copy them into c:\Program Files\DuctiSoft\ObjectDCL ARX\ :
01/21/2012 04:16 PM 8,111 ArxHelpers.lsp
10/20/2007 04:18 AM 349,226 Cli_LP.dll
07/03/2008 01:41 PM 102,400 EmailActivation.exe
04/18/2012 09:34 PM 259,584 LicenseManager.exe
10/25/2012 10:09 AM 83,502 ObjectDCL-7.5.0.1-ARX-ZRX64-Uninstall.exe
08/12/2014 11:18 PM 82,776 ObjectDCL_DK_uninstall.exe
04/07/2013 07:15 PM 14 ODCLlicS.chk
10/17/2014 02:53 AM 151,108 ODCL_LM.des
10/29/2013 01:44 AM 384 ODCL_LM.kds
10/28/2013 01:34 AM 3,436 ODCL_LM.ods
10/17/2014 02:53 AM 125,348 ODCL_LM.VLX
After you deployed mentioned files, you should make following paths in your SFSP of ACAD :
c:\Program Files\DuctiSoft\DiLeader
c:\Program Files\DuctiSoft\ObjectDCL ARX
I've also put (arxload "ObjectDCL.XX.arx") (XX is number of ACADVER you're deploying ARX) in acaddoc.lsp and also loaded (load "DiLeader.lsp") also in acaddoc.lsp, so that dileader is automatically loaded when I start CAD... You can also do this manually through "APPLOAD" command... And that's it... It should work... As far as I know only A2009 32 bit can't be properly setup... But on all my other CADs its working well, and I mean A2008 32 bit, A2009 64 bit, A2012 64 bit, A2014 64 bit...
[EDIT : Attached is ZIP that contains those mentioned additional files...]
HTH, M.R.
-
Thanks ribarm.
Appreciate your time and response. Will give it a go!
All the best Robbo.
-
And for "Arrows" DWGs, I suggest that you do the following, (if they are EVALUATION VERSION drawings)... Open DWG in some newer release of ACAD... insert block that is stored in memory of DWG into 0,0,0 with scale 1,1,1 and rotation 0.0... Explode DWG... Use this extension of CP command posted here : http://www.theswamp.org/index.php?topic=47923.msg529342#msg529342 - it's called CPENTM command, and it consists from cpentm.lsp :
(defun c:cpentm nil
(ssget "_:L")
(command "_.script" (findfile "cpentm.scr"))
(princ)
)
And from cpentm.scr :
(vl-load-com)
(defun makelsp ( ss / i e el lst fn )
(repeat (setq i (sslength ss))
(setq el (entget (setq e (ssname ss (setq i (1- i))))))
(setq el (vl-remove (assoc -1 el) el))
(setq el (vl-remove (assoc 5 el) el))
(setq el (vl-remove (assoc 300 el) el))
(setq el (vl-remove (assoc 310 el) el))
(setq el (vl-remove (assoc 320 el) el))
(setq el (vl-remove (assoc 330 el) el))
(setq el (vl-remove (assoc 340 el) el))
(setq el (vl-remove (assoc 350 el) el))
(setq el (vl-remove (assoc 360 el) el))
(setq el (vl-remove (assoc 370 el) el))
(setq el (vl-remove (assoc 380 el) el))
(setq el (vl-remove (assoc 390 el) el))
(setq el (mapcar '(lambda ( x ) (cons 'quote (list x))) el))
(setq lst (append lst (list (cons 'entmake (list (cons 'list el))))))
(if (eq (cdr (assoc 0 (entget e))) "POLYLINE")
(progn
(while (/= (cdr (assoc 0 (entget (setq e (entnext e))))) "SEQEND")
(setq el (entget e))
(setq el (vl-remove (assoc -1 el) el))
(setq el (vl-remove (assoc 5 el) el))
(setq el (vl-remove (assoc 300 el) el))
(setq el (vl-remove (assoc 310 el) el))
(setq el (vl-remove (assoc 320 el) el))
(setq el (vl-remove (assoc 330 el) el))
(setq el (vl-remove (assoc 340 el) el))
(setq el (vl-remove (assoc 350 el) el))
(setq el (vl-remove (assoc 360 el) el))
(setq el (vl-remove (assoc 370 el) el))
(setq el (vl-remove (assoc 380 el) el))
(setq el (vl-remove (assoc 390 el) el))
(setq el (mapcar '(lambda ( x ) (cons 'quote (list x))) el))
(setq lst (append lst (list (cons 'entmake (list (cons 'list el))))))
)
(setq el (entget e))
(setq el (vl-remove (assoc -2 el) el))
(setq el (vl-remove (assoc -1 el) el))
(setq el (vl-remove (assoc 5 el) el))
(setq el (vl-remove (assoc 300 el) el))
(setq el (vl-remove (assoc 310 el) el))
(setq el (vl-remove (assoc 320 el) el))
(setq el (vl-remove (assoc 330 el) el))
(setq el (vl-remove (assoc 340 el) el))
(setq el (vl-remove (assoc 350 el) el))
(setq el (vl-remove (assoc 360 el) el))
(setq el (vl-remove (assoc 370 el) el))
(setq el (vl-remove (assoc 380 el) el))
(setq el (vl-remove (assoc 390 el) el))
(setq el (mapcar '(lambda ( x ) (cons 'quote (list x))) el))
(setq lst (append lst (list (cons 'entmake (list (cons 'list el))))))
)
)
)
(setq lst (cons 'list lst))
(setq lst (list lst 'e))
(setq lst (cons 'e lst))
(setq lst (cons 'foreach lst))
(setq fn (open "c:/lsp.lsp" "w"))
(print lst fn)
(close fn)
(princ)
)
(setq fn (open "c:/doc.txt" "w"))
(setq k -1)
(while (not (equal (vla-get-activedocument (vlax-get-acad-object)) (vla-item (vla-get-documents (vlax-get-acad-object)) (setq k (1+ k))))))
(princ k fn)
(close fn)
(setq fn nil k nil)
(makelsp (ssget "_P"))
(setq makelsp nil)
_.new
(load "c:/lsp.lsp")
(vl-load-com)
(setq fn (open "c:/doc.txt" "r"))
(setq k (read (read-line fn)))
(close fn)
(vla-activate (vla-item (vla-get-documents (vlax-get-acad-object)) k))
(defun doc nil
(if (findfile "c:\\doc.txt") (vl-file-delete "c:\\doc.txt"))
(if (findfile "c:\\lsp.lsp") (vl-file-delete "c:\\lsp.lsp"))
(setq doc nil fn nil k nil)
(princ)
)
(alert "Type (doc) at command prompt")
(princ)
You should put cpentm.scr in SFSP of ACAD, and load cpentm.lsp... Start cpentm command after you loaded lisp with DWG that has this block exploded and select all entities... Automatically script will execute inside built lisp for creating (entmaking) 2D entities in newly created DWG... (3D SOLIDS can't be entmaked - for them you have to use CP.lsp with CP.scr showed on link above - for those kind of drawings that have 3D SOLIDS and that are EVALUTION versions - I still don't know how to remove EVALUATION mark as with copybase 0,0,0 and pasteclip 0,0,0 nothing is solved EVALUATION stays - only way is to recreate entities through entmake or similar, so for 2D drawings this is possible on this way (cpentm command)... When newly created DWG is made with new entities, you should switch to it (ALT+W) and purge all (don't forget to type (doc) when asked to remove temp lsp and txt file stored on c:\)... Then SAVEAS DWG and use the same name as original DWG and save it to newly created folder... Repeat this procedure for all DWGs in Arrows directory, and move original DWGs from Arrows folder to new folder - keep originals... Then move all newly created DWGs into Arrows folder and that's it... You removed EVALUATION mark and made DWGs operable for TAB option when DIL command is started...
HTH, M.R.
-
Thanks ribarm.
Appreciate your time and response. Will give it a go!
All the best Robbo.
No luck I am afraid. Perhaps a .reg file is required. It works fine on my PC, but not for others. It will be pain to log in as administrator to install on a number of PCs.
BTW I used the path C:\Ductisoft\ObjectDCL ARX. I believe you are not able to make a directory with lisp in Program files.
All the Best, Robbo
-
Hi Guys,..
Ok,...ObjectDCL Extension need registry information to work properly.
ex:
[HKEY_CURRENT_USER\Software\DuctiSoft\ObjectDCL ARX]
"InstallDir"="c:\\Program files\\DuctiSoft\\ObjectDCL ARX"
"Version"="14.158"
"Platform"="Win64"
"LMver"="14.216"
InstallDir = is necessary for many application telling where the Extension file is located.
Version = is necessary to validate status and Licence if you have one.
PlatForm = is OS information...this can be skipped.
LMver = Installed version of ODCL_LM.vlx, this is necessary cause depending of the version, some function are requested.
you can use the following:
(if (setq LM
(findfile
(strcat
(vl-registry-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")
"\\ODCL_LM.vlx"
)
)
)
(load LM)
)
ODCL_LM.vlx file take care loading the correct ARX,BRZ,ZRX file for you.. :)
if you want to install all package...
you can use the silence install package provided...
Version 14.283
64bits Silence Install (http://www.objectdcl.com/downloads/ObjectDCL-Extension-14.283-Setup-x64-s-CU.zip)
32bits Silence Install (http://www.objectdcl.com/downloads/ObjectDCL-Extension-14.283-Setup-x32-s-CU.zip)
but this will automatically use the c:\Program files\DuctiSoft\ folder..
So if you want to use it in a diffrent foder,..
I suggest you to copy the correct ARX,ZRX,BRX + the VLX or DES files in your wanted folder..
than, add registry information if it is not present.
-
Hi Andrea, when I change values in DILC for Geometry parameters of Dileader, no changes are made to .cfg file (variables cfgo_10, cfgo_11 and cfgo_12 have 0 values after reading cfg file that is used in DIL command)... Is this possible to fix, or we have to use DILFSL, DILGAPX, DILGAPY commands to make those changes... To bad it won't work through dialog box... Anyway, else is fine and works brilliantly...
Thanks for this tool...
M.R.
Thank you M.R....I'll take a look on that. :)
-
(if (setq LM
(findfile
(strcat
(vl-registry-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")
"\\ODCL_LM.vlx"
)
)
)
(load LM)
)
Hello Andrea, Sorry to bother you again, but I get this error message when I attempt to run the code suggested in my startup lisp.
; error: bad argument type: stringp nil
Any ideas?
KR. Robbo
-
Perhaps write it like this:
(setq lm
(vl
-registry
-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")) )
STRCAT will Sh!+ the bed if you pass it a null value. Although that still does not fix that the registry value is not there...
-
Perhaps write it like this:
(setq lm
(vl
-registry
-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")) )
STRCAT will Sh!+ the bed if you pass it a null value. Although that still does not fix that the registry value is not there...
you'r right... :) thannk you.
-
(if (setq LM
(findfile
(strcat
(vl-registry-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")
"\\ODCL_LM.vlx"
)
)
)
(load LM)
)
Hello Andrea, Sorry to bother you again, but I get this error message when I attempt to run the code suggested in my startup lisp.
; error: bad argument type: stringp nil
Any ideas?
KR. Robbo
This mean that the
(vl-registry-read "HKEY_CURRENT_USER\\Software\\DuctiSoft\\ObjectDCL ARX" "InstallDir")
return Nil.
-
Andrea, this lisp code is amazing. Thank you for your efforts to create it. There is certainly a helluva lot going on in the code.
I have a routine which I have written which extracts the length property of any line or polyline as a text string and then places an MTEXT object with that length pre-written.
Then I use the DILATTACH command to attach that MTEXT object to the line. Then I might modify the line, making its length longer. I would love for the DILEADER script to be able to then re-calculate the length and update it in the leader text.
Do you have any advice about how I would go about my modification to your DILEADER script to make that occur? Thanks again for the awesome work.
-
Andrea, this lisp code is amazing. Thank you for your efforts to create it. There is certainly a helluva lot going on in the code.
I have a routine which I have written which extracts the length property of any line or polyline as a text string and then places an MTEXT object with that length pre-written.
Then I use the DILATTACH command to attach that MTEXT object to the line. Then I might modify the line, making its length longer. I would love for the DILEADER script to be able to then re-calculate the length and update it in the leader text.
Do you have any advice about how I would go about my modification to your DILEADER script to make that occur? Thanks again for the awesome work.
Hi ifncdylan,
First,..let me be the first to wish you "Welcome to the Swamp" :)
thank you for using DiLeader...many people use it.
you can modify the code for your convenance.
I suggest you to check the mywrittentext variable and put the field code in it.
If you need help, please let me know.
cheers.
-
Thanks for that advice Andrea, I have gotten it to calculate the length of the line when I first run the DIL command:
316
319 (princ "\nPick Text location...")
Roundup is a function I have made which rounds a number up to the nearest 0.5 (or whatever number you give it). This gives me a string of *P23* *39.5* for a line that is 39.14 long, for example.
I am also writing CONDUITTYPE to xdata on the dqobject, and then in the reactors, pulling that XDATA back out so each of my leaders updates with the correct type of conduit and length each time I modify the line.
I will clean up the code a bit and then post it here, if anyone might want to use automatic conduit length calculating leader. :)
-
Thanks Andrea.
That lisp looks very useful.
-Nirav
-
Hi All,...
Since this tool was created,...
many request was sent on my mail..
so...
I'm proud to announce you that a new version of DILEADER is comming...
unlimited flexibility...many options added, all know bug was fixed,..
New add-on:
- New option allowing LISP evaluation expression
- New option allowing Field String
- Add Suffix and Prefix String
- New Ribbon Menu
- Reactor add regen to update field
- New addition, + - Key added on DILEDIT for arrow resizing
- New addition, TAB key added on DILEDIT for Arrow block switch
-"NOTE" string preview replaced by MTJIGSTRING variable
- New option allowing to use BLOCK with attribute
- DILALIGN offer now Vertical or Horizontal Alignement
- Auto-MTEXT justification can be readjusted
...many more..
Few preview...
-
More...
-
Very impressive Andrea! :-)
-
Very impressive Andrea! :-)
Thank you Mr. Mac, :)
I forget to mention that DiLeader can also use LISP function and Variable as Text or Attribute. :)
-
Hello,
Just a question: on this lisp is it possible to use mleader instead of leader?
The raison is that by mleader I can add or remove leader
Thanks
-
Hello,
Just a question: on this lisp is it possible to use mleader instead of leader?
The raison is that by mleader I can add or remove leader
Thanks
Hello Francinez,..
first,..Welcom to the swamp ! :)
Mleader have limited options..
DiLeader allow to add Leader at any time..
(see gif below)
-
Hi Andrea,
I am sure I have never seen such a complete program, written in LISP, with such nice interface and cool functions.
This will be of use for many people, and it is freeware still. My compliments for your great work.
Hopefuly people will get to know more of your programs, the free and non free stuff.
Personally I like the sDuct program as to be one of my favorites.
-
Andrea, thank you for your quick response
The raison of mleader is that I have autocad 2013 and multileader has been enhanced with additional tools. So if your lisp dileader would be implemented with mleader it would be top.
Regards
Francine
-
Andrea, thank you for your quick response
The raison of mleader is that I have autocad 2013 and multileader has been enhanced with additional tools. So if your lisp dileader would be implemented with mleader it would be top.
Regards
Francine
hi
mleader is crap since dbl sided leaders stretch bug.
k.
-
Dear Andrea.
I want to know where can download this routine? Thanks for sharing.
-
Hi DuanJinHui,..Welcome to theswamp ! :)
the new version of DiLeader will be out shortly. I'll put the download link here.
Kruuger,..
may I ask you wich stretch bug you have with Mleader ? my streetch work fine here.
bilançikur,..
Thank you very much...very appreciated.
Francine,
DiLeader allow more flexibility that all other leader type.
also, DiLeader follow the Dimension style settings..instead of Mleader who have his own setting....and to be honest , I never understood why autoCAD created two different ways to configure Leader instead adding options for current one.
but I'm curious to know wich option Mleader have that DiLeader do not allow..?
-
Hi Andrea
Please draw mleader with with 2 arrows - left and right. Than try to stretch all with "full window".
Whole mleader should start move but isn't. Noticed that text/block move dbl distance (green) compare to arrows (red).
it is similar to qleader streatch in dynamic block (see image). almost 10 years and still not fixed !!
kruuger
-
And a video :)
-
And a video :)
very beautiful , ronjonp.
-
oookkkey ! :|
never realized that..
so...
+1 for DiLeader !
:)
-
oookkkey ! :|
never realized that..
so...
+1 for DiLeader !
:)
yep :)
-
Hi DuanJinHui,..Welcome to theswamp ! :)
the new version of DiLeader will be out shortly. I'll put the download link here.
Hello Andrea,
Is your new version of DiLeader available?
Kr. Robbo.
-
oops,...sorry...I forgot. :)
the link is Here (http://www.ductisoft.com/dileader.html)
Any comment or suggestion are welcome.
-
oops,...sorry...I forgot. :)
the link is Here (http://www.ductisoft.com/dileader.html)
Any comment or suggestion are welcome.
Thank you Andrea. Unfortunately I am unable to unzip the file. Is it password protected?
-
oops,...sorry...I forgot. :)
the link is Here (http://www.ductisoft.com/dileader.html)
Any comment or suggestion are welcome.
Thank you Andrea. Unfortunately I am unable to unzip the file. Is it password protected?
Hi ROBBO ,unzip no problem.
You sure download normal completion ? file size :15.2 MB
BTW, I use "winrar "
-
Mm. Strange 77077!
Please attachments below when I use PeaZip and not the windows default.
-
I think it may of been corrupted on download. I will download again. My internet link here is terrible at the moment.
Unable to download fully at the moment although 15.3MB, the best I have download at the moment is 1,745KB - I will keep trying!
-
I think it may of been corrupted on download. I will download again. My internet link here is terrible at the moment.
Unable to download fully at the moment although 15.3MB, the best I have download at the moment is 1,745KB - I will keep trying!
Good Luck!
-
@Andrea Hello
I just try it , It's good tools!
Multiple languages support , But No Chinese . disappointed !!!
-
@Andrea Hello
I just try it , It's good tools!
Multiple languages support , But No Chinese . disappointed !!!
haha :) you can add your own language if you want... please read how to create LPK file (language Pack)
:)
-
I've tried the download link and work well for me..
tested on my laptop and 2 desktop..
-
Seventh time lucky :-)
Thank you Andrea for sharing
-
hi Andrea
try your tool but noticed very big, annoying problem.
try this:
1. draw any object for stretch
2. run STRETCH command on this object
3. now try again but with right click or space (last commend) no shortcut.
4. select object and accept with space or right click. autocad should ask for base point but command just end.
so there is no way to STRETCH using last command - mouse, click or space bar.
i guess it is issue with some reactor. noticed also this in command line when stretching
Select objects: !previousSelection
<Selection set: 13d>
1 found
i uninstall dileader and all is ok.
kruuger
-
Thank you very much.
I'll take a look on that asap.
if there is any other issue... please don't be shy to share or write me an email
with all information is possible ... like:
operating system
autocad version
screen shot or animated gif file
and steps used to reproduce the issue.
thank you :)
-
Hi Andrea, Looks like a wonderful program but my IT won't give me admin rights to change the install folder from a read only status. Any ideas on how to work around that problem (besides a new IT department of one)? Here is the message I get when I start AutoCAD 2016 now.
Please check write permission on:
C:\Program Files\Autodesk\ApplicationPlugins\DuctiSoft_DiLeader.bundle\Contents
Any suggestions would be helpful.
Thank you,
Les
-
Hi Andrea, Looks like a wonderful program but my IT won't give me admin rights to change the install folder from a read only status. Any ideas on how to work around that problem (besides a new IT department of one)? Here is the message I get when I start AutoCAD 2016 now.
Please check write permission on:
C:\Program Files\Autodesk\ApplicationPlugins\DuctiSoft_DiLeader.bundle\Contents
Any suggestions would be helpful.
Thank you,
Les
Hi, ...
sorry i'm a kind of rushing actually....
please follow these steps..
1) move all folder from:
C:\Program Files\Autodesk\ApplicationPlugins\DuctiSoft_DiLeader.bundle
to
C:\Users\(your user login)\AppData\Roaming\Autodesk\ApplicationPlugins\DuctiSoft_DiLeader.bundle
2) change the installation PATH in the registry:
[HKEY_CURRENT_USER\Software\DuctiSoft\DiLeader]
"InstallDir"="C:\Users\(your user login)\AppData\Roaming\Autodesk\ApplicationPlugins\DuctiSoft_DiLeader.bundle"
3) Install ObjectDCL Extension in a folder who you have right admin.
or change the ObjectDCL installation Path from:
[HKEY_CURRENT_USER\Software\DuctiSoft\ObjectDCL ARX]
"InstallDir"="c:\\Program files\\DuctiSoft\\ObjectDCL ARX"
to any who you have right admin
note that in some case, You will need to add these path in the TRUSTEDPATHS variable environnement
or change SECURELOAD status.
please let me know of any issue..
thank you.
-
Andrea, if Les does not have the rights to set a folder to read-write, I very much doubt their admin would let them loose in the registry :evil:
-
Andrea, if Les does not have the rights to set a folder to read-write, I very much doubt their admin would let them loose in the registry :evil:
I agree,...just a gess..
but meanwhile...many user have problem with admin right.....so any can suggest something ?
My idea is to remake the installation concept pointing to :
C:\Users\Public\..
and use config file instead of registry..
but the problem still that it need to have a specific file location to read the config file..
otherwise,...I'll need a config file telling where the second config file is installed to tell the third config file...etc..
-
I agree that program installation should require admin rights - in my opinion, the issue is not so much about trying to circumvent the need for admin rights for installation of the program, but to have a co-operative admin willing to install the program.
-
If setenv/getenv works without admin rights you could use that to save the location of a config file.
-
I agree that program installation should require admin rights - in my opinion, the issue is not so much about trying to circumvent the need for admin rights for installation of the program, but to have a co-operative admin willing to install the program.
+1
-
If setenv/getenv works without admin rights you could use that to save the location of a config file.
still registry entry..
-
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.
-
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.. :|
-
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.
-
Can you use %allusersprofile% ?
-
Can you use %allusersprofile% ?
the user do not have acces to it....:(
-
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...
-
Thank you. :)
I'm happy that DiLEader is used. :)
Also,..DiLeader is now on Autodesk Apps Exchange. (https://apps.autodesk.com/ACD/fr/Detail/Index?id=appstore.exchange.autodesk.com%3adileader_windows32and64%3aen)
and on my website at: http://www.ductisoft.com/dileader.html (http://www.ductisoft.com/dileader.html)
-
Thank you. :)
I'm happy that DiLEader is used. :)
Also,..DiLeader is now on Autodesk Apps Exchange. (https://apps.autodesk.com/ACD/fr/Detail/Index?id=appstore.exchange.autodesk.com%3adileader_windows32and64%3aen)
and on my website at: http://www.ductisoft.com/dileader.html (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
(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 :
(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\ )
-
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.
-
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.
-
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...