TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Shay Gaghe on July 17, 2017, 05:23:58 am

Title: creating a block that make decisions while moving
Post by: Shay Gaghe on July 17, 2017, 05:23:58 am

hi
it is possible creating a dynamic block that makes decisions while moving?

for example, creating 2 rectangles, and say :

if the left rectangle width is becoming more than 100cm start stracing also the second rectangle?
Title: Re: creating a block that make decisions while moving
Post by: Master_Shake on July 17, 2017, 07:58:07 am
AutoCAD blocks are relatively basic, but this sounds like an array function?
Title: Re: creating a block that make decisions while moving
Post by: Shay Gaghe on July 17, 2017, 01:04:44 pm
what is Array function?
Title: Re: creating a block that make decisions while moving
Post by: Shay Gaghe on July 18, 2017, 04:20:47 am
i attached an image

those are dynamic blocks,
whe changing the distance more then 50 i want the other block to do something
Title: Re: creating a block that make decisions while moving
Post by: Master_Shake on July 18, 2017, 08:09:59 am
I'll go on a limb and say it's not entirely possible with generic AutoLISP. Should be do-able in .NET but you are looking at a highly specialized and custom routine which is going to cost a pretty penny ($$$).
Title: Re: creating a block that make decisions while moving
Post by: MP on July 18, 2017, 08:33:41 am
To the uninitiated it sounds like a candidate for grread/ grvecs etc.
Title: Re: creating a block that make decisions while moving
Post by: Shay Gaghe on July 18, 2017, 02:32:15 pm
To the uninitiated it sounds like a candidate for grread/ grvecs etc.

AFAIK grread is a ghost...?
Title: Re: creating a block that make decisions while moving
Post by: Shay Gaghe on July 18, 2017, 02:33:07 pm
To the uninitiated it sounds like a candidate for grread/ grvecs etc.

AFAIK grread is a ghost...?

is there any other package that knows how to do it by accident?