How can i get any information about reflines(from family instances)


Hello,

How can i get infos like location, oriantation in relation to the current project.

Actually i can see grafical in Dynamo! what i need, but how can i access it?

KR

Andreas

Hi @Draxl_Andreas,

The Output Reference has no geometric representation.
What you see is the Output Plane.

Once you got the references from the reference planes, you can obtain with the API a sketchplane or a plane. With a plane, you can obtain the normal (a vector) with the Plane.Normal node.

2 Likes
OUT = []

def val(x):
    UnwrapElement(x).get_Parameter(BuiltInParameter.SKETCH_PLANE_PARAM).AsInteger()

for p in IN[0]:
    OUT.append(val(p))

i know thats a pit off… i can t “call” a parameter from a refplane(?)

my next “solution” is to get the vector and his informations from the refplane

There is a near topic…

I can`t see values which are correlate.

Even when i have that, do i rotate my familyinstance?

KR

Andreas