Is it possible to use Autodesk Revit Model Review to check to ensure that linked files (.RVT and .DWG) are on the correct specified workset?
It looks like you can setup a check for Parameter Requirements, and then specify CAD or Revit link (for the Element type), and setup the conditions for the required Workset parameter.
Hey Lance,
seems like i can only access the numerical value of the workset. What i need to verify is the text value as the numerical will change from file to file.
Thanks for the help
Hi Lance,
Could you answer the question? The workset names do not seem to be available when selecting a linked model. I am also looking to check internal Workset linked model's Worksets namings standards.
The category is either missing or eluding me; Workset are not under the "W" names, if they are indeed present at all. Furthermore, it is impossible to select a Workset from the model with a mouse since it is not a physical object, but an abstract concept.
Thanks.
The last question I see posted was from Pat (Could you show an example?). I replied to that one, but here is a video with more detail:
https://screencast.autodesk.com/main/details/ee284346-996b-4daf-84d9-ef1974ed28a4
So that confirm that we can't use the tool to check for the instance name without reverting to a macro or addin. And if we do might as well have the addin do the check 🙂
Thanks Lance
I have not found an option within the (Model Review) add-in to check for the text of the workset name (the parameter check tests for a numerical value representing the name within the project).
Lance,
How do you map the Workset name to the workset numerical value. I have not found a means to do that. I have a project with 333 Revit models, so I am hoping that the numerical value for a specific worksets renames constent.
Thanks,
Pat
Using a number to identify a named Worsket would be incredibly silly. Especially since you can (assuming the tool somehow works) use the name of the linked worksets. I have no idea why anyone would want to use an arbitrarely created internally used only number to refer to something that has a constant name.
My problem is the (seeming) inability to access the model's own Workset names. as well as other items (Family Type names, etc).
It's not incredibly stupid. If you ever looked at Revit's DB it uses a lot of table mapping to do that kind of stuff.
My biggest concern is that, as far as i can tell, Autodesk is not investing a ton of time or energy on that tool(unfortunately) so i'm not sure anyone can give us access to that parameter.
I don't mind using a macro or the API but now i will have 2 or 3 places to check for standards, try to explain that to a user....
It would be silly to use a number if the name is available.
If you want to make sure all Grids and Levels and on the "Grids and Levels" Worksets or verify that default "Workset1" does not exist on a project, it would be pretty hard to do anything with arbitrary numbers.
I can't really see how a number would be used if you are checking for particular workset names (and compliance to the architect's BIM naming standards) in consultant's files, particularely if you are verifying name formatting (no underscores, etc).
I agree with you... from the addins point of view. But like i said, look at Revit's DB and you might understand a bit more.
The name is available through the API, if it's such a critical task use the API to check 🙂
I wish I had time to dig into the API; I may do so in the next months if I can fit time between university projects. It's not so much a "critical" task as it it the main purported functions of the Model Review tool to "Check models received from others to verify quality and adherence to a chosen set of standards".
Checking any user generated name should be easy with this tool (Worksets, Family Types, Parameters, Materials, Linked Images, Family Subcategories, etc), but... it requires programming skills. As well, the documentation and support is very thin.
Coupled with the fact that this tool is only available with (a very costly) subscription supposed to provide support, this makes for a frustrating situation.
From the perspective of checking if worksets within the project or linked files match a set of pre-defined values, it would not make sense to use a numerical value specific to each project.
However, from the perspective of uniquely identifying a given workset within the project or from a linked file, this behavior should make more sense.
Your expectation is to have many models with worksets containing the same name, but in order to uniquely identify a workset from one linked model that has the same name as an internal workset, and the same name as other linked models, Revit needs to assign a separate identifier (in this case a number).
Regarding the need to setup multiple add-ins / macros to test against this condition, I found the following AU class with information on developing custom tests with Model Review (using the Model Review API to create Model Review plug-ins):
http://aucache.autodesk.com/au2011/sessions/5880/nov29_virtual_handouts/v2_CP5880_Bell.pdf
Note: While the session is from 2011 (and has information regarding the 2012 software), I have verified that the (64-bit) path seems to still be valid (there is a Developing_ModelReview_Plugins.pdf and SamplePlugin folder) for the 2014 version.
Could you please explain how to get to the Element Property List below? Thank you.