Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

adjustment of tag location #2

Open
theoryshaw opened this issue Jan 16, 2019 · 4 comments
Open

adjustment of tag location #2

theoryshaw opened this issue Jan 16, 2019 · 4 comments

Comments

@theoryshaw
Copy link
Member

Hi @dimven

Thanks for pushing that script--a great start.

here's a video of running the script:
https://www.dropbox.com/s/977i9v4li8m30hi/2019-01-16_15-25-40.mp4?dl=0


Is it possible to get the tags to not overlap on each other?
2019-01-16_15-25-59_sharexsharex_-_screen_recordingsharex



possible to move them over a little to the left, so they fit in that rectangle?


2019-01-16_15-32-40_i_view642019-01-16_15-28-11 png_-irfanview zoom_1694_x_i_view64


test file and tag family...
0da46e6

@dimven
Copy link
Contributor

dimven commented Jan 17, 2019

Hi,

Did you run the graph twice consecutively as per the description? Remember the first run places the tags and fixes the API bug (automatically nudges the tags up and down so that they're not just showing a question mark). Only then can we get the correct extents of the tags and continue with part 2 - making sure they don't overlap

vkodipfcnc

Is the box that you're referring to part of the titleblock family?

@theoryshaw
Copy link
Member Author

hi.. well look at that, no I did not do that! Will try. :)

I just meant moving the placed tags over to the left a little more to fit in the box illustrated below...
image

image

see sheet layout in this file...
https://github.com/OpeningDesign/OD_Library/blob/0da46e68d14822477e0db82d4bc33bc44ae2abdc/BIM/Dynamo%20Scripts/Material%20Tagging/test.rte

@theoryshaw
Copy link
Member Author

Hi Dimitar, i think i found it...
6cf0c5d#diff-867ba39a557cdb958a7df3c33a62b3faR129

Is that correct?

@dimven
Copy link
Contributor

dimven commented Jan 18, 2019

That is totally it. We align the outside extent of the tag with the edge of the crop. I put a bit of a buffer of 0.5 ft. because it seemed to work well and look nice with the common cases. If you'd like we could externalize it as an input.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants