Author Topic: Darray - another Dynamic tool !!  (Read 17778 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Darray - another Dynamic tool !!
« on: January 03, 2009, 01:48:02 PM »
Hi all..

Since I'm on the GRREAD function...
many idea comes in my head.

I have created this New Dynamic Array function.

Darray v.1


The only thing I don't like...is the way i've made it by using block..
but it work great. so if some one have any suggestions to doing this without creating block
I will be happy to see it.

thanks .  :roll:
Keep smile...

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Darray - another Dynamic tool !!
« Reply #1 on: January 03, 2009, 01:59:31 PM »
The only thing I don't like...is the way i've made it by using block.

Haven't looked at your code but you could analyze the initial selected entities, especially the boundary elements, and grdraw a ghosted symbolic representation. Would be fast and no temp block def/instancing required, assuming that's what you did.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #2 on: January 03, 2009, 06:15:02 PM »
thanks Michael,..

i'll take a look on how I can modify this.  :wink:
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #3 on: January 03, 2009, 11:44:42 PM »
Update:
- OrthoMode Added.
- User can specify the Angle Value by pressing "V"
- English/French Detection

   8-)


Darray v.1.2


« Last Edit: January 04, 2009, 03:28:58 PM by Andrea »
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #4 on: January 05, 2009, 08:56:00 AM »
Update:
- Polar Object Array added.
- Fix stopping routine by pressing any key

   8-)


Darray v.1.3


New Fix for AutoCAD 2008..



« Last Edit: January 05, 2009, 10:00:21 AM by Andrea »
Keep smile...

GDF

  • Water Moccasin
  • Posts: 2081
Re: Darray - another Dynamic tool !!
« Reply #5 on: January 05, 2009, 10:09:12 AM »
Not quite a perfect array...
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Darray - another Dynamic tool !!
« Reply #6 on: January 05, 2009, 10:11:41 AM »
Guessing the proggy needs to consider the state of osmode.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

GDF

  • Water Moccasin
  • Posts: 2081
Re: Darray - another Dynamic tool !!
« Reply #7 on: January 05, 2009, 10:14:53 AM »
Guessing the proggy needs to consider the state of osmode.


Ah hah...that was it.
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #8 on: January 05, 2009, 11:01:57 AM »
Oops..!

can be perfect ! :wink:

Fixed. !  thanks.

( i don't use Osnap )
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #9 on: January 23, 2009, 03:18:48 PM »
New Release...


Darray v.1.4


This release is more complete..
  • New Dynamic Menu
  • New Array Options (Rectangle/Polar/Arc)
  • Switch Object alignement method by pressing Shif key
  • Allow user to change Quantity during the function
  • Allow user to change Angle during the function

Note:
By creating the Mtext BEFORE the entity....this will result transparency effect  ;-)

any comment or suggestion will be appreciated.
thanks.

enjoy !

Keep smile...

psuchewinner

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #10 on: January 26, 2009, 08:18:28 AM »
Very cool stuff!  I will be dissecting it later to add some of your ides to my routines.

I wish my employer allowed me the resources to write programs like this.  Thats my dream job!

Keep the cool stuff coming!  I am envious!

GDF

  • Water Moccasin
  • Posts: 2081
Re: Darray - another Dynamic tool !!
« Reply #11 on: January 26, 2009, 10:23:33 AM »
Very kool, but I could not get the arc to work properly.
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

GDF

  • Water Moccasin
  • Posts: 2081
Re: Darray - another Dynamic tool !!
« Reply #12 on: January 26, 2009, 10:27:29 AM »
Very kool, but I could not get the arc to work properly.

Wait...now it's working. Way kool. keep up the good work.
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #13 on: January 26, 2009, 12:20:32 PM »
thanks.. 8-)

note:..
i'm not paid to do this kind of stuff..
i do it at home.. :evil:
Keep smile...

psuchewinner

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #14 on: January 26, 2009, 03:53:59 PM »
Now thats a hobby!

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #15 on: January 27, 2009, 12:46:49 PM »
yep,..
 :angel:

You can't imagine all the idea i have in my head..
the only restriction is the knowledge.

...and time.   :lol:
Keep smile...

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #16 on: January 28, 2009, 02:54:07 PM »
Thanks...

New Addition and modification....

Darray v. 1.5

RECTANGULAR option was replaced with LINEAR...
New RECTANGULAR options added.

- Allow Row and Column input
- Allow Entity rotation as polar or Rectangle Center by pressing SHIFT.
- New Mtext information for Rectangle option.

enjoy !
Keep smile...

M-dub

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #17 on: January 28, 2009, 02:56:30 PM »
Again!
Great sutff, Andrea!

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #18 on: January 28, 2009, 10:44:34 PM »
Thanks !  :-)
Keep smile...

alisafei

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #19 on: January 31, 2009, 07:52:04 AM »
hi, when i use the "darray" commanf after loading your lisp file, why not working..the command history like this one..

Command: darray

(L)inear/(R)ectangular/(P)olar/(A)rc ?: l

No unreferenced visual styles found.

Select objects: 1 found

Select objects:

Number of CopyArray: 5

Attach point...Regenerating model.  (WHY THIS ONE NEEDED?)
Base point...
Press (A)ngle/(Q)uantity : Deleting block "_{DarrayBlock}_".
1 block deleted.

no function definition: ACET-SYS-SHIFT-DOWN

i tried it in autocad2004 n 2009.
is the object must be a block or..?

Serge J. Gianolla

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #20 on: January 31, 2009, 03:20:31 PM »

no function definition: ACET-SYS-SHIFT-DOWN

i tried it in autocad2004 n 2009.
is the object must be a block or..?

Ali, it is needing a function from ExpressTools. ET should be installed.
Andrea, j'espere que tu m'en veux pas de repondre a ta place  :oops:

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #21 on: January 31, 2009, 04:21:48 PM »
Attach point...Regenerating model.  (WHY THIS ONE NEEDED?)
Base point...

This is where the selected entity is reffered absolutely needed..


ACET-SYS-SHIFT-DOWN function come with expresstools and is part of the acetutil4.fas file.
but you'r right. i'll modify the code to detect if some express function is available. thanks.

Serge...
très heureux d'avoir de tes nouvelles et que tu ai répondu.  ;-)
Keep smile...

alisafei

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #22 on: January 31, 2009, 11:10:20 PM »
thanks for your reply.
i know the problem, i am using toolpac so i didn't installed "Express Tool" in my autocad.

can you modify it without expresstool?

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #23 on: February 01, 2009, 11:09:38 PM »
I would like to help....

but don't realy know how to use shift without using any arx or dvb file.
maybe in vbs ??  I need to check that..

or ...If some one have any idea..... :|
Keep smile...

Crank

  • Water Moccasin
  • Posts: 1503
Re: Darray - another Dynamic tool !!
« Reply #24 on: February 02, 2009, 02:13:05 AM »
Not in lisp, but I'm using the arx of Luis.
Vault Professional 2023     +     AEC Collection

Gilles

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #25 on: June 02, 2010, 12:56:22 PM »
Cool, Andrea.
Beautiful lisp.
I see a lot of aplications in what I do. cheesy
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

Aerdvark

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #26 on: June 03, 2010, 03:06:27 PM »
Hi Andrea,

I can only say OMG  :lol:

Very nice program!

Aerdvark

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Darray - another Dynamic tool !!
« Reply #27 on: June 04, 2010, 09:59:36 AM »
thanks Guys..


Gilles,..
j'vais ajouter ça à la prochaine version.
(it will be added on next release)

thanks.
Keep smile...

Gilles

  • Guest
Re: Darray - another Dynamic tool !!
« Reply #28 on: June 04, 2010, 12:51:49 PM »
Cool, je surveille......