divide per 2 the surfaceArea

divide per 2 the surfaceArea

RUDYBERGAMO
Enthusiast Enthusiast
347 Views
1 Reply
Message 1 of 2

divide per 2 the surfaceArea

RUDYBERGAMO
Enthusiast
Enthusiast

Hello, I would like to show in the bom the half surface of the parts, just for an estimation of materials. I already have in the bom the Area:

iProperties.Value("Custom", "Area")= iProperties.Area

but how is it possible to create a custom properties that divided it per 2? I have tried some ways but i cant reach the result..

Thank you so much.

0 Likes
Accepted solutions (1)
348 Views
1 Reply
Reply (1)
Message 2 of 2

Sergio.D.Suárez
Mentor
Mentor
Accepted solution

Hello, Here I show you an example of how to capture the Area / 2 parameter in a custom Iproperty.
First you must create a user parameter that has the value that you will expose as custom iproperty, and then create an ilogic rule, with an event that activates each change of parameter of the document or each change of geometry of the part

 

Surf = iProperties.Area / 2

iLogicVb.UpdateWhenDone = True
InventorVb.DocumentUpdate()

 I hope it is useful for you. regards


Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn