@kkoenigYS3V4 posted a new topic, subject "Property lines, filter to create diferent set back distances". It read:

   property offset.JPG694×600 54.5 KB
    
    Hi all,  
    I've created this string that creates a floor called site area and another that creates one called buildable area that can be uniformly offset from a property line. Is there a way to filter a property line by direction or orientation so I can create different offsets, the idea of course being to have typical zoning inputs of front, side and rear. I've searched and searched and just can't find anything besides some custom nodes with novel length codes I don't understand. I've attached a screen shot of my string. Thank you.!

So @kkoenigYS3V4 replied

    Or perhaps, could I set the 0,0 at the center of the property and filter in relationship to that point, +x, -x, +y, -y?

@saju_autodesk (Saju) replied

    I dont know if i have understood your question…! If you want to offset a boundary curve with different values after filtering orientation here you go…!
    
    1 - From the curve get Start and end point.  
    2 - get x & Y coordinate ad doubles.  
    3 - If X of startpoint = X of end point,- lines are vertical else horizontal  
    4- from the vertical pair of lines compare X of either start or end point  
    5 - one with lesser value is line on west and other is line on east.  
    6-Similarly find North and south lines.
    
    Limitation - applicable only for site with lines parallel to x and y axis

So @kkoenigYS3V4 replied

    Is there a way to grab them by placing the origin in the center of the property. And then offset by lines in negative x for west, lines in positive x for east, lines in negative y for south and lines in positive y for north? I apologize, i'm still struggling with the basics here.

After which, @kkoenigYS3V4 added

    Is there a way to grab them by placing the origin in the center of the property. And then offset by lines in negative x for west, lines in positive x for east, lines in negative y for south and lines in positive y for north? I apologize, i'm still struggling with the basics here.

So @salvatoredragotta (Salvo) replied

    You could create separate property lines or some detail/model lines to match the property line. This way you could select them based on their offset (either manually or by filtering (you could have Revit lines with names matching the offset) )

To which @awilliams (Amy) replied

    This appears to work to determine which line is where, using the Rhythm node Wall.NorthSouthEastWest:  
    
    
    property line orientation.png1206×450 27.4 KB

So @awilliams (Amy) replied

    Here is a full solution, there might be a simpler or cleaner way but this works.  
    
    
    property line orientation.png2528×504 44.8 KB
    
    You would just modify the numbers in the list of distances in the Code Block to correspond to the offset of each line:
    [code] 
        curves = {North,East,West,South};
        distances = {10,10,20,12};
        vecs = curves.NormalAtParameter(0.5);
        pts = curves.PointAtParameter(0.5);
        points = pts.Translate(vecs.Reverse(), distances);
    [/code]

To which @saju_autodesk (Saju) replied

    awilliams:
    
    > Rhythm node Wall.NorthSouthEastWest
    
    Does this node calculate the orientation with respect to the center of bounding box of input elements or just to the project location point…?
    
    I had some problem with this node here “Wall bounding the room to North,East,West ,south....!”

@kkoenigYS3V4 replied

    This was perfect! thanks so much!

Then @awilliams (Amy) said

    The node is grouping the elements by values based on their vector x y points. I have a solution for your other problem, I will post it on the post you linked


{'source': 'discourse', 'url': 'https://forum.dynamobim.com/t/property-lines-filter-to-create-diferent-set-back-distances/18034', 'title': 'Property lines, filter to create diferent set back distances', 'views': 1953, 'has_accepted_answer': False, 'word_count': 583, 'like_count': 2, 'reply_count': 4, 'participant_count': 4, 'posts': 11, 'tags': '', 'author': '@kkoenigYS3V4', 'participants': '@kkoenigYS3V4, @saju_autodesk (Saju), @salvatoredragotta (Salvo), @awilliams (Amy)', 'image_url': ['https://global.discourse-cdn.com/business6/uploads/dynamobim/original/3X/d/9/d90fe5f30e99e1c88e3d6bf8c25342edfa89f86f.JPG'], 'created_at': '2018-01-10T16:43:21.541Z', 'last_posted_at': '2018-01-12T23:54:29.929Z'}