Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have the same problem as this guy:
I have a code to round up parameters with the unit "mm" to be whole numbers. This is important in our assets for the BOM list in the end. I use the following code:
Dim UserParams As UserParameters UserParams = ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters For Each Item In UserParams If Item.Units = "mm" Then Item.Value = Ceil(Item.Value) End If Next
This results in the parameters getting x,00000000 mm behind it. This is very confusing for the end user that uses the assets/parameters. How do i get rid of the zeroes?
Solved! Go to Solution.