Are there any ways I might be able to create worksets for new models beyond the first 2 when using EnableWorksharing?
Solved! Go to Solution.
Solved by russ.green. Go to Solution.
Ah..
Workset.Create(m_Doc, name)
Don't know what that too me so long to find.
Hi Russ,
Is this working for you ? or do you still need help from us ?
Thanks,
Not sure. I do have R2 installed so could be.
I'm using it like this. where m_Doc is the current document
CreateWorkset("workset name here") Private Sub CreateWorkset(name As String) Using t As New Transaction(m_Doc, "Create Workset") If t.Start Then Workset.Create(m_Doc, name) t.Commit() End If End Using End Sub
Hi Ning.
Can it?
Cf.
http://forums.autodesk.com/t5/revit-api/r2-vs-ur4/td-p/5382029
Thank you!
Cheers,
Jeremy
Hi,
I have yet to start porting to 2015, and this topic has caught my attention. It is a troubling turn of events if different sub-flavours of Revit (R2 vs UR4) have different API capability. For the moment, can someone please confirm whether Workset.Create is available in standard Revit 2015? Or only in UP4? Or only in R2? Many thanks, Dale
Afaik, only Revit 2015 R2.
Cheers,
Jeremy
Thanks Jeremy,
I have taken the discussion over to:
http://forums.autodesk.com/t5/revit-api/r2-vs-ur4/m-p/5439929#M8067
Regards, Dale