Help needed with Object Label 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-10 12:18 PM
AC places it attached to the right upper corner at some strange distance from it!
I want to have it placed in the centre of the object.
Can anyone help?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-11 11:52 AM
I only have to uncheck "use symbol's arrow" in the label parameters panel.
But ... checking more, it turned out that, if I rotate the object by 180°, the label does not detect this, and I get the same result shown in your image.
And, more over, the label is really centered ONLY if the placing hotspot (origin) is in the lower left corner.
--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-11 12:21 PM
I saw that with some objects the label appeared in the center, but couldn't fing why!
Alas, I walt to use the label exactly for objects with a center insertion point - lamps and switches!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-12 04:53 AM
your very first line in 2D script should be this:
IF label_custom_arrow THEN ADD2 label_position[2][1]+label_position[3][1]+symb_a_size/2,label_position[2][2]+label_position[3][2]+symb_b_size/2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-12 08:47 AM
I used Object Label 12 with your line of script inserted as the first line of the 2D script.
Please, see the attached picture:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-12 10:34 AM
the problem is:
the label anchor is ALWAYS pointed to local zero of an object. So in your case the chair has the local zero in the left bottom corner (open the chair script as check the 2D full view).
So we have to move the label along X and Y by a half of the object's size each way (SYMB_A_SIZE/2 and SYMB_B_SIZE/2 respectively)
Now if you rotate this system it does not work because when rot. angle = 0; deltaX= SYMB_A_SIZE/2 and deltaY=SYMB_B_SIZE/2, however if rot.angle=90; deltaX=SYMB_B_SIZE/2 and deltaY=SYMB_A_SIZE/2.
in other words only if you had a lib part with centered 2D view it would work. I am pretty sure it could be resolved mathematically but it is not an easy task.
Does it make a sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-12 01:10 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-13 07:20 PM
Now, even though a label is on an independent layer, it will NOT show unless the layer containing the ELEMENT that is is associated with is on.
Anyone?
Probably not a huge deal, but I had set up my layer combos to show only the clg ht tags (assoc. labels) without showing the ceilings they are assoc with for some structural base plans.
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-17 11:59 AM
you can't build a line
Mac Studio
iPad Pro
iPhone

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-28 02:21 AM
Is there a GLOB_variable to tell whether the OPAQUE button is pushed in a LABEL?
Rather than the cheesy "add my fill" parameters, I'd like to tap into the existing setting dialog....
Anyone?
Visual Frontiers
AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion
DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop