get frame member start / endpoint

get frame member start / endpoint

Ruffy85
Collaborator Collaborator
507 Views
6 Replies
Message 1 of 7

get frame member start / endpoint

Ruffy85
Collaborator
Collaborator

Good Morning Forum,

 

iam struggling a little bit to get the frame member start and endpoint (Direction Unitvector) in an Assembly

 

i found the startpoint which looks good in the Translation property. But didn´t find so far a way to get the endpoint of the frame or maybe the direction vector.

 

Any ideas?

 

Thanks in advance

 

 

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 Likes
508 Views
6 Replies
Replies (6)
Message 2 of 7

HermJan.Otterman
Advisor
Advisor

what kind of frame members do you use?

when I look at an DIN IPE 80, it has a "start plane" and an "end plane"

these are used for a "Between" extrusion.

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


Message 3 of 7

Ruffy85
Collaborator
Collaborator

hi @HermJan.Otterman 

Thanks for the fast answer. I will use the standard frames from content center. 

can i ask you to give me a short example? where i find this planes? does the planes have a centerpoint?

 

For example a  profile 40x40x3 or 100x50x4

 

I need the location from my assembly like this or the centerline of the profile.

 

start 0,0,0 End 3000,0,0

 

regards

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 Likes
Message 4 of 7

HermJan.Otterman
Advisor
Advisor

not shure what you want to do...?

 

I made a screencast (https://autode.sk/2Ts9K6U) of the IPE 80, and you can see that the startplane is lined up with the origin.

the centerline is the Z-axis

I think this will be so for all the frame members but to be shure, you have to check that.

 

 

 

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 5 of 7

Ruffy85
Collaborator
Collaborator

as you can see the ucs of your frame part is not the same like the ucs in the assembly.

 

i need the start and the endpoint of the frame inside your frame.iam. not inside the part itself.

 

please look at my screenshot , there is the location of the startpoint inside my assembly, but i need the endpoint as well. if i know the directionvector of the frame i can calculate the endpoint by my own with the G_L Parameter.

 

Will try to create automatically a line for each frame inside my assembly which shows the centerline of each frame

 

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 Likes
Message 6 of 7

HermJan.Otterman
Advisor
Advisor

oke, I made an other screencast, hope you know the VBA edior and I'm using a watch on a selected part.

Through this watch you can see what code you can use to get to you value..

but that is from assembly origin to part origin.

so after that you can use the values from the part to get to the end point (and startpoint if the startpoint in the part is not the origin)

https://autode.sk/2BdcIoC

 

 

 

 

 

 

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 7 of 7

HermJan.Otterman
Advisor
Advisor

and now you need the angles.....

can't find them... they should be here somewhere...

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes