Is there a way to quickly list all the views and/or sheets an element or family is located on? Thanks!
@mix
Yes there are a couple of ways i have seen.
Could you post up what you have tried so far and where you are getting stuck to see what direction to point you in.
@jostein_olsen
Ok those seem great but neither one is working, here is my latest fail:
Hmm that’s odd. Seems to work on my end. I’ve created a project parameter which is put on all elements in the model first and then run the script as shown below.
def ElOnSht(shts,func)
{
sNrNa=shts.SheetNumber+"-"+shts.Name;
sv=shts.Views;
elems=Flatten(__Map(func,sv));
oldpar=elems.GetParameterValueByName("On Sheet");
newpar=oldpar+sNrNa+",";
elems.SetParameterByName("On Sheet",newpar);
return=elems;
};