- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
(Not an Autodesk Employee)