- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I can't find in the documentation what the default value is for external shared parameters of type Autodesk::Revit::DB::ParameterType::YesNo. I had beein thinking of using an invisible parametr to identify objects created by my plugin. I was hoping the default was no/0 (so that only objects created by my plugin would answer "yes"), but from my testing, it appears that unset values default to yes/1. Since yes/1 seems to be an odd default (in languages that automatically set memory, 0 is more common than 1), I thought I'd ask for confirmation here that that is the defined behaviour, or if unset parameters can be initialized with random garbage? I tried searching the API documentation, but haven't managed to find anything yet.
Thanks!
Andrea
Solved! Go to Solution.
