Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
HideoYamada
in reply to: sreed

Hi,

 

Change the code as follows :

ThisDoc.Document.ComponentDefinition.Parameters.UserParameters("SheetMetalLength").Expression = iProperties.Value("Custom", "sheet metal length")
ThisDoc.Document.ComponentDefinition.Parameters.UserParameters("SheetMetalWidth").Expression = iProperties.Value("Custom", "sheet metal width")

This will work even if the custom iProperty contains unit.

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp