How can I check if parallel elements?

How can I check if parallel elements?

Anonymous
Not applicable
762 Views
1 Reply
Message 1 of 2

How can I check if parallel elements?

Anonymous
Not applicable

Hello!
I'm trying to create fixtures instances along the conduit. But depending on the conduit direction, I get instance which is parallel the conduit.
How can I determine this situation when instance is parallel to conduit, if conduit based on LocationCurve and instance based on LocationPoint? 
I would be appreciate any help!
Безымянный.png

0 Likes
763 Views
1 Reply
Reply (1)
Message 2 of 2

AGGilliam
Collaborator
Collaborator

When placing a FamilyInstance, you can use the basisX (or basisY) of its transform to determine which direction it's facing (even if it's point based). So you could use that to determine whether they're parallel.