Announcement

Collapse
No announcement yet.

Family Instance By Line In View

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Family Instance By Line In View

    I had a working script, that would place a line based detail component in a view using the FamilyInstance.ByLine node. The issue with this node is that it asks for a level and I want to be able to apply the detail component to the current view and not have the level parameter (it was only working on level 1)

    Clockwork has a FamilyInstance.ByPointInView node which works for non-line based components.

    Would someone be able to help me develop a FamilyInstance.ByLineInView function.

    https://forum.dynamobim.com/t/family...n-view/10816/2

    I took the suggestion in this post and modified his format to fit in my script. The Python Node is not working. Can someone help me make the current script work or point me in the direction to do one that works. Thanks.

    The element.getlocation is getting the centerline of walls. I have attached the script. The file itself is too large to post, Ive tried to get it as small as possible but it still 1 mb too large

    Attached Files
    Denis Pohlman, AIA, NCARB, WELL AP, CPHC
    Architect + BIM Coordinator
    Kahler Slater, Inc.

    #2
    Hello Dennis,

    Would you be able to post a Screenshot or example of the kind of output you are after (i.e is it simply colouring a line on top of walls?).

    Could you post a screenshot of the detail component also please?

    I can have a look after that

    Sol Amour

    Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
    Portfolio Website @ Cargo Collective

    Comment


      #3
      What a coincidence, I believe I'm trying to accomplish the exact same thing through different means. I've attached my working script, which is still in progress and has several kinks, but it may provide some insight. It's done in Dynamo 1.2, Revit 2016. It has several Clockwork packages in use, but I don't have access to their version at the moment.

      In mine - the line-based detail components are being placed by another Clockwork script - FamilyInstance.ByCurve . The 'curves' of all the rated walls are being acquired by Element.Location, with some pre-filtering to sort rated walls by Type Name (this is not ideal, but works with my standards).

      Here's where I'm stuck - I can't find a way to control the destination view for these 2D components. I have a feeling it's related to creating instances of 2D elements from 3D geometry (therefore disregarding 'current view'). It seems to place them in view with the lowest ID for the input level, but I haven't fully tested this. Anyone worked out something similar? Any input is much appreciated, as always.

      The line based family is nothing special - Amoursol, it's exactly as you describe: placing a colored line on top of a wall.

      Attached Files

      Comment


        #4
        Originally posted by amoursol View Post
        Hello Dennis,

        Would you be able to post a Screenshot or example of the kind of output you are after (i.e is it simply colouring a line on top of walls?).

        Could you post a screenshot of the detail component also please?

        I can have a look after that
        I will post them tomorrow
        Denis Pohlman, AIA, NCARB, WELL AP, CPHC
        Architect + BIM Coordinator
        Kahler Slater, Inc.

        Comment

        Related Topics

        Collapse

        Working...
        X