TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: abe123456789 on April 03, 2022, 12:23:52 PM

Title: Create a line with 2 dimension style at the same time
Post by: abe123456789 on April 03, 2022, 12:23:52 PM
Good Morning,

Is it possible to create a line and at the same time use 2 diminsion sytles that will be below and above that line?
and also overide the top dimension text to whatever i want?

I have attached what i am trying to do.

Thank you,

Title: Re: Create a line with 2 dimension style at the same time
Post by: kozmos on April 03, 2022, 11:05:14 PM
Can make a dynamicBlock with stretch action. and explode after placing it.
Title: Re: Create a line with 2 dimension style at the same time
Post by: BIGAL on April 04, 2022, 01:16:46 AM
Yes just dimension twice, a good learn lisp.

get the two points
work out a up point and a down point use polar function
dimalign pt1 pt2 pt3
then (getstring "\nEnter dimension string "))
dimalign pt1 pt2 pt4 string