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: tgregory3G7FA

Hi @tgregory3G7FA.  If you really want to save a value within the document, instead of externally, then there are 3 main places to save something like that.  In a UserParameter, in a custom iProperty, or in a document level Attribute.  The iProperty route is likely the quickest and simplest, but it would be visible in the iProperties dialog, on the Custom tab.  The Attribute route would be the most complicated (but not that bad), and would also be the only truly out of sight location, because there is no user interface way to access them (only by code).

oSet = ThisDoc.Document.AttributeSets.Add("SetName")
oAtt = oSet.Add("Name", ValueTypeEnum.kStringType, "Your Value Here")

Wesley Crihfield

EESignature

(Not an Autodesk Employee)