Jump to content

Recommended Posts

Posted

hey,

 

i want to insert a text with the total area of objects i've selected.

the problem is i can't seem to get out of the area command to start the text command. i've created a button for it wich runs the command.

 

this is how it looks:

^C^Carea;a;o;\Text;\;$m=$(/,$(fix,$(/,$(getvar,area),10000)),100)m²;

 

seperate the command seems to do the trick though.

first:

^C^Carea;a;o;

second

\Text;\;$m=$(/,$(fix,$(/,$(getvar,area),10000)),100)m²;

 

it works then.

can someone please help me...:cry:

grtzz Pat

Posted

I can get it to end the area command, but now its not registering an area... :geek:

 

^C^Carea;a;o;\;;Text;\;$m=$(/,$(fix,$(/,$(getvar,area),10000)),100)m²;

 

I now remember why I hate LT...

Posted

jep the command ends, but it only shows 1 area.

try the macro ^C^Carea;a;o; it accumulates the area's to 1, that's the nice part.

  • 6 years later...
Posted
I can get it to end the area command, but now its not registering an area... :geek:

 

^C^Carea;a;o;\;;Text;\;$m=$(/,$(fix,$(/,$(getvar,area),10000)),100)m²;

 

I now remember why I hate LT...

 

I am using this macro to insert areas of closed polyline shapes.

It works very well except that it uses the default text style and height.

Please tell me how to include a text height instruction into the macro.

I have tried a number of things but none of them work.

Posted

A text height is asked if the current text style is not set to a fixed height ie 0.0. So you need to set the correct style to be used, Style S textstyle. In lisp I check for this and use correct style.

 

Lee a question o;\;; or o;;\; you have to cancel the pick object select before moving on.

Posted

Try this macro,

^C^Carea;a;o;\;;Text;\;$m=$(/,$(fix,$(/,$(getvar,area),10000)),100)m²;scaletext;l;;e;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...