Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

adjustment of tag location #2

Open

Description

@theoryshaw

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

Activity

  1. dimven commented on Jan 17, 2019

    @dimven
    Contributor

    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?

  2. theoryshaw commented on Jan 17, 2019

    @theoryshaw
    MemberAuthor

    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

  3. theoryshaw commented on Jan 18, 2019

    @theoryshaw
    MemberAuthor

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

    Is that correct?

  4. dimven commented on Jan 18, 2019

    @dimven
    Contributor

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions