Due to quiting job and started as a self-employed I lost my account here somehow, so I created a new account here.
I am writing a script for automaticly tag (in this case) electrical fixtures.
In a floorplan, those fixtures are shown as symbols (annotations inside family).
When I get the boundingbox, then it uses the 3D geometry.
I want the symbol (annotation) te be used as boundingbox, to determine the distance of the tags from locationpoint to make sure the tags are not over the symbol.
the account thing is based of your autodesk user licence, mine has changed twice lol
can you find the origin of the family and offset the tag to suit the annotation?
That’s how I do it now. But now I have to offset the items per family (it are 5 or 6 families, so not so much), cause all families have different size of annotations (for example: single-, double-, tripple Wall Socket).
It is working how I would like to, but when it’s possible te add a boundingbox around the annotation, then I can all put in one part instead of 5 or 6
Is the embedded symbol a shared family? That might be the best way to handle this. Then you can manage the tags as their own objects and not even have to worry about the 3D element. Otherwise I think you have to get the annotation information from the family environment, unless you have additional parameters in the family controlling the annotation that you could read from. Hard to say without knowing how your family works and what exactly you have so far.