ANSI content in mm

ANSI content in mm

LeanderTorres
Advocate Advocate
1,267 Views
5 Replies
Message 1 of 6

ANSI content in mm

LeanderTorres
Advocate
Advocate

Hi,

 

I adapted the ANSI ASTM pipes to show dimensions in mm.

Everything works when placing components directly from the content center. (part 8 on screenshot)

When I use the frame generator, it works, but the filename contains a unique number instead of the length.(part 2-7 on screenshot)

The checkbox in the frame generator for 'getting part number from CC' is checked.

 

Does annybody know how to solve this?

Your help is appreciated.

 

We are working with inventor 2019.4

partlist.pngframe generator.png

0 Likes
Accepted solutions (2)
1,268 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor

Hi,

 

How did you configure the part-number in the Content center Family?

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 6

LeanderTorres
Advocate
Advocate

This is the custom expression I used.

{Nominal_Diameter}&" "&{Schedule}&" - Ø"&{Diameter_mm}&"x"&{Thickness_mm}&" - "&{B_L}

Aantekening 2019-06-17 105133.jpg

0 Likes
Message 4 of 6

LeanderTorres
Advocate
Advocate

Here is a wetransfer link for the idcl file if helful.

https://we.tl/t-ZKttqLKPmC

 

0 Likes
Message 5 of 6

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Hi,

 

Since the length is calculated with Frame Generator this will not work this way.

In your part-number you need to use the Expression Like: #######- <Lenght>

The property "length" must be mapped to the Custom Property "length" using the "B_L" parameter.

 

This is the custom expression you need to used. {Nominal_Diameter}&" "&{Schedule}&" - Ø"&{Diameter_mm}&"x"&{Thickness_mm}&" - "&<B_L>

 

See this also:

 

https://www.autodesk.com/autodesk-university/class/AutodeskR-InventorR-Content-Center-Library-Advanc...

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 6 of 6

LeanderTorres
Advocate
Advocate
Accepted solution

Hi,

Thank you Arthur.

This set me in the right direction. I had following dificulties.

 

={Nominal_Diameter}&" "&{Schedule}&" - Ø"&{Diameter_mm}&"x"&{Thickness_mm}&" - "&<B_L>

This didn't work, frame generator would return an empty value. (also the '=' at the beginning is essential for the <>-format to work)

 

Changing the B_L to G_L solved this problem.

 

={Nominal_Diameter}&" "&{Schedule}&" - Ø"&{Diameter_mm}&"x"&{Thickness_mm}&" - "&<G_L>

 

With G_L, the frame generator partnumbers are ok, memebers placed from CC had there length in inches.

The last problem was solved by adapting the family template. (this forum post helped me do this: https://forums.autodesk.com/t5/inventor-forum/how-to-change-g-l-parameter-from-in-to-mm/m-p/4386993#...)

 

Now everything works as it should be, length is updated with when changing base sketch and when doing end treatments.

 

Regards,

0 Likes