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

Hi @amillsLD4X8.  One good thing to keep in mind that may make things a bit easier is to look for anything that has a Property named 'Expression', besides having a Property named 'Value'.  The value of the 'Expression' property is always a String (text), instead of numerical or other Type.  And anything you provide as the value of that Expression will be understood/used literally.  So, you could say Object.Expression = "6.25 in" and it will be understood as 6 inches, without the units being converted.  Think of it like typing something into the Equation column of a parameter, in the parameters dialog box.  You can also put a quoted equation as the value of the Expression property in some situations (like a parameter).  And there are some places in code where it is asking for a "Variant" or "Object" as the value of something, where you would expect to supply a numerical value.  That often means that it will accept a String, as well as a Double (or other numerical data type), and you can use that the same way (supply a quoted value, with units specified).  Just some more tips to keep in mind.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)