![]() |
KozMos LabelRoom Label room's name and area/perimeter with auto-update reactor |
|
| KozMos LabelRoom is a Visual LISP reactor based program to perform a dynamic name
and area (and/or perimeter) label of a room. LabelRoom will
link two objects (one MTEXT and one CURVE/REGION/HATCH/SOLID which has the "AREA"
or "PERIMETER" property)
together, the MTEXT will contain two lines: First line shows the room name
and the second line will show the room area or perimeter obtained from the linked
CURVE/REGION/HATCH. Changes on the curve area or perimeter will be recorded and shown by the MTEXT automatically. LabelRoom support different dimension unit by using the "CALC" factor (It works as well as the Conversion Factor for AutoCAD Field). This will get the correct area number in a different unit. For example, if the drawing was drawn in millimeter unit but we need to dimension the area with square meter. Then we must add a "0.000001" factor to the curve's area property. Or we will got a wrong number and have to fix it manually. All LabelRoom reactors are designed as persistent so that they can always be valid in AutoCAD sessions (of course LabelRoom MUST be loaded). While attaching reactors, LabelRoom support attaching a normal text with curve because LabelRoom will convert the normal text into mtext automatically.
To start LabelRoom, just type LROOM at AutoCAD "Command:"
prompt.
We are considering to use attributes nested in block to replace the MTEXT, the option was designed in the dialog, but due to no supporting codes, we disabled the choice of Block in dialog.
LabelRoom provides options on properties of the created MTEXT such as Layer; Style; Color (Support AutoCAD 2004+ true color) and Scale. Frequently used room names may be saved in a ".TXT" file line by line. The file can be read by LabelRoom
at any time.
LabelRoom create normal AutoCAD MTEXT objects with two lines contents, modification to these MTEXTs which have LabelRoom reactor links may cause different results:
There are many important features in LabelRoom:
|
||
LabelRoom-GroupLabel LabelRoom support many options for GroupLabel. During the group label procedure, a proto annotation (text or
mtext) may be needed.
In
the Use proto mode,
if the proto annotation content contains digit, LabelRoom can run a simple mathematic calculation on digit number (support Add, Subtract, Multiple and Division), while in the calculation, the calculated number can also be set (always this number should be 1).
Copy existing LabelRoom reactors may lost reactor in new created objects. LabelRoom Clone is designed to duplicate LabelRoom reactors by simply indicating the CURVES/REGIONS/HATCHES. Once valid objects are selected, new MTEXTS and LabelRoom reactors will both be created and linked automatically. If there are other objects without any relationship with the LabelRoom reactor, they can be copied together with the reactor duplication. LabelRoom Clone support two clone modes:
Once we have built the LabelRoom reactors, they may often have close relationship with other drawing data (If a room in building is labeled, the border wall will be the very closed data to the curver with LabelRoom reactor). LabelRoom Clone will help us duplicate not only the reactor, but also other relative or non-relative data together with the reactor clone. Command to start LabelRoom Clone is LRCLONE and it need not registration.
LabelRoom Browse is designed to help users to identify the linked CURVE/HATCH/REGION/SOLID and MTEXT. This might be very useful when many LabelRoom reactors are exist. Data of both the picked object and linked object will be shown in dialog, in the mean time, we can highlight the objects to help us find out them. If the linked object is out of the screen, LabelRoom-Browse can zoom to the object.
Command to start LabelRoom Browse is LRBROWSE and it need not any registration.
Additional Notice:
LabelRoom
now support regions as well as curves, MakeRegion is published
together with LabelRoom to help users building a region based on some
existing closed curves very quickly. Once any region is created, a message with the area and perimeter of the region will appear in AutoCAD command line. Command to start MakeRegion for LabelRoom is MAKEREGION. |
||
LabelRoom-Statistic and export LabelRoom provide statistic functions. Data in LabelRoom-linking MTEXTS may be detected and exported into either Microsoft Excel spreadsheet or VLDCL ViewList. Known limitation: As
LabelRoom normally links one CURVE with one MTEXT, if we want to label
many CURVES and processing certain area calculation between the CURVES,
we may convert these CURVES into one REGION, if multiple REGIONS are
created, LabelRoom will not be able to link them with one MTEXT, only in
case that one REGION is created can LabelRoom label performs the correct
way linking REGION with MTEXT. The area change of REGIONS can only
take effects by scale. Once the REGION is scaled, the LabelRoom reactor
may take effects on linked MTEXT. KozMos LabelRoom vs AutoCAD FIELD: Since AutoCAD2005, we can use FIELD to show the mark the area or length of curves as well as LabelRoom does. But in fact, AutoCAD FIELD does have some limitations compared with KozMos LabelRoom:
Program record
|
||
//Koz Jono Yeoh//
Copyright(C) 1994-2009 KozMos Inc |
||