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: ChrisCarlson 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: ChrisCarlson 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?