- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've got some JS code (see below) that is bugging me (pun intended). I'm probably overlooking something stupid simple but... I'm trying to cycle throught the proposals and set each one at a time as the active proposal. I can't get the SetProposalName function to work. I'm looking at the SetProposalName function and I'm not 100% sure if that means set a new name for a proposal or set a proposal current based on a name. Can someone shed some light on this for me and point me in the right direction?
// Get the active document var doc = app.ActiveDocument(); // Get all proposals in the model, cycle through them & print them to the debug panel var varProps = doc.GetAllProposals(""); for (x in varProps) { print (varProps[x]); }
Thanks!
Matt Wunch
Revit Subject Matter Expert/sUAS Pilot
Twitter | LinkedIn
AU2017 - Code Blue Dr Revit - How to Resuscitate Corrupt Revit Models
Was this answer helpful? If so, please click the ACCEPT AS SOLUTION or the KUDO button.
Solved! Go to Solution.