Hello everyone i have managed to create a script that automatically tags the available railings by view , even if the railing has 3 joined lines as a path , then the tag is repeated 3 time for exemple.However i now want to offset the tag a bit far away by an X parametr(distance) unifromly , meaning the offset is always to the exterior side of the building / or interior , i tried to offset the railing path curves but some get offseted inside while the other outside, is there any possible fix?
Gardecorps annotation automatique.dyn (92.9 KB)
Hi @amir.kharrat one way maybe
hi thank you ive thought of that , but the problem there is if i have multiple railings and when i do the curve normal at param sometimes the normal goes inside and sometimes outside , do you get what i mean?
yeah probably so what you show in your image is 3 different railings ? so you cant join the locationcurves ??
what i mean is in my case i have all these railings, as you can see when i offset them some of them are offseted inward and some outward do you get what i mean? meaning if i have railings on windows and i want the tag offseted away from the windows, some are correct but some are going inside the building!
so you have a single railing in front of these windows and not as showed in the image?? if that the case then try use FamilyInstance.FacingOrientation from these windows and use that as vector ??? maybe
great idea didnt know that node, but how do i get the matching window for each railing?
yeah think something here a fast example, or use boundingboxes…
thanks i did just that but to verify i fetched first item from each list but found they dont match???
allright cant really see whats goin on, try share a sample rvt lets say with 4 windows and 4 railing where it goes in wrong direction and we can take a look
ive actually managed to solve it , thank you so much!