Part List Mass Column Units Formatting API

Part List Mass Column Units Formatting API

johnster100
Collaborator Collaborator
434 Views
2 Replies
Message 1 of 3

Part List Mass Column Units Formatting API

johnster100
Collaborator
Collaborator

Hi,

I've added a parts list to a drawing using the api code in the inventor help section. I've then added the mass column to it.

 

The issue is the mass is to three decimal places and I'd like this be just one. To change this manually you use the apply the units formatting option shown below. Is there a way to do this through the api?

 

1.PNG

 

thanks

0 Likes
435 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Yes

0 Likes
Message 3 of 3

Sergio.D.Suárez
Mentor
Mentor

Hi, I tried to access the property of the column and I have not been successful.
However, I would tell you to try to edit the style of partslist in your drawing template, so when you place a partslist by code it will take the units that you have set in that template.

1.jpg2.jpg3.jpg

I hope some of this can help you with your problem. 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

0 Likes