Number of Bends in a sheet metal part, into a Parameter ?

Number of Bends in a sheet metal part, into a Parameter ?

Anonymous
Not applicable
660 Views
3 Replies
Message 1 of 4

Number of Bends in a sheet metal part, into a Parameter ?

Anonymous
Not applicable
Hey Guys,

I've got one for ya;

Does anyone know the name of a value that might hold the total number of bends in a part?

Or at least how those feature are managed?

Simply put, I'd like to pull the total number of bends into a parameter so it can be exported later.

Thanks!!
Paul
0 Likes
661 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
I'm doing the same thing using the following function. This works for normal folds but I'm not sure if it works with rolled parts.

Public Function GetBendQty(ByVal oDoc As PartDocument) As Long
Dim oDef As SheetMetalComponentDefinition = oDoc.ComponentDefinition
Return oDef.Bends.Count
End Function

Andrew
0 Likes
Message 3 of 4

Anonymous
Not applicable
Aweseom!,
Thanks Man!

I just found the Inventor Developer Tools today, got the event watcher, object model map, etc.
This is gonna be fun!

Thanks again!
Paul
0 Likes
Message 4 of 4

k14348
Advocate
Advocate

I need a help for the same Question. But i don't want to use macros. I need a value for No. of bends in the sheetmetal part. Can you help me for the same.

 

Thnaks&Regards,

karthikeyan.M

0 Likes