i need autolisp program for irregular area partition division

i need autolisp program for irregular area partition division

mmthageer
Observer Observer
222 Views
7 Replies
Message 1 of 8

i need autolisp program for irregular area partition division

mmthageer
Observer
Observer

hi, i need autolisp program. i am having irregular all single line boundaries. some partition line drawn. after that the partition line should move up or down for horizontal along its orientation or otherwise left or right for vertical along its orientation. after giving the required area the drawn line should move as per picking with required area as new color line and the partition line remains. i need the result like. ask the text height, ask to pick inside closed area, make temporary polyline for picked area and compute the area after that need to delete the temporary polyline, ask the required area, ask to pick the direction, finally result should come.  entry of required area as both options should ask one is Sq.m. and other one is Cent + Sq.ft. after all workout finally the result will come 02 line text. first line text should xxx.xxx Sq.m and second line as X Cent XXX Sq.ft.

0 Likes
223 Views
7 Replies
Replies (7)
Message 2 of 8

autoid374ceb4990
Collaborator
Collaborator

I wrote such a program many years ago to use in my land surveying business.  Unfortunately it was written in 'C' code, not LISP.  One suggestion I would make is to have the division line move parallel to itself, not just up-down or right left.

0 Likes
Message 3 of 8

vladimir_michl
Advisor
Advisor

This kind of problem can be addressed by iterative algorithms - see e.g. SplitArea:

https://www.cadstudio.cz/en/apps/splitarea/

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz

 

0 Likes
Message 4 of 8

Sea-Haven
Mentor
Mentor

Nice program @vladimir_michl have you thought about a Bricscad version ?

0 Likes
Message 5 of 8

vladimir_michl
Advisor
Advisor

No, we currently do not support AutoCAD clones.

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz

 

0 Likes
Message 6 of 8

mmthageer
Observer
Observer
Dears, OK. Can you please send we will see.

Thanks and Regards
Mohamed Abuthageer
Civil Engineer
0 Likes
Message 7 of 8

mmthageer
Observer
Observer
Dears

Thank you so much for your email.

If possible can you please send the Auto lisp file to my email.


Thanks and Regards
Mohamed Abuthageer
Civil Engineer
0 Likes
Message 8 of 8

vladimir_michl
Advisor
Advisor

It is a free download from the above mentioned page or from https://www.cadforum.cz/en/download.asp?file=SplitArea - just drag the VLX file to your AutoCAD (or LT) or use the _APPLOAD command to load it.

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz

0 Likes