Seeking Advice

Seeking Advice

tinuthomasGE9RJ
Advocate Advocate
333 Views
3 Replies
Message 1 of 4

Seeking Advice

tinuthomasGE9RJ
Advocate
Advocate

Problem statement:

We have developed a plugin for dimensioning and tagging. Please see the queries below.

1) We are having difficulty identifying the nearest elements based on their category.

2) In tagging, we need to obtain the extents of the tag text.

3) We need to identify any overlapping tags. Is there a solution to this?

4) In tagging, is it possible to have the tag leader or leader as a curve?

5) Is it possible to identify the connected elements of structural framing?

6) We are unable to obtain the center reference of the shaft opening. Is there a solution for this?

 

Autodesk Revit : 2022 version.

0 Likes
334 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

Dear Timu, 

  

Congratulations for having already developed your add-in. Mos of the quesrtions you raise have been discussed here in the past, some of them quite often. I would suggest searching for existing answers one by one and adding to those threads if anything remains unclear. Here are some quick takes:

  

  1. Use a filtered element collector in combination with a category and a bounding box intersection filter.
  2. Discussed previously many times.
  3. Ditto.
  4. Can you achieve this manually in the UI? How? If not, the API will hardly add any functionality beyond the UI possibilities.
  5. Yes. Discussed previously.
  6. Yes, certainly. Well, the centre point, anyway. Does it necessarily have a reference?

     

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

tinuthomasGE9RJ
Advocate
Advocate

Hello @jeremy_tammik ,

 Thank you for your reply, 

1. Thanks for that, we will check that possibility.

2. From what I’ve searched, there doesn’t seem to be a straightforward solution to this. We can use the bounding box for tags without leaders to get the extents, but our requirement is specifically for tags with leaders. Is there any solution for this?

3. We’ll check the possibility of the same.

4. The actual requirement is to get the leader of the tag in order to check for overlapping with other tags. If there’s another way to achieve this, it would be very helpful.

5. We found a thread relative to that query. We will check

6. We need to provide dimensions from the center of shaft openings, so we require a center reference for the shaft opening.

0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni

Regarding the last point, I am not sure that such a reference exists. You may have to create and manage some artefact yourself in order to achieve that. I have no further comments off-hand on the other five points. Looking forward to hearing about your further progress. Good luck and have fun!

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes