Is there a Named Expression to check for a specific sheet name?

I am looking for info for a Named Expression that determines if a certain Sheet model exists. For example, "BorderSheet"

Or if this isn't possible how about a Named Expression to determine if a specific TagSet exists in the file?

Thanks,

Regan

Parents Reply Children
  • Well if you are using sheet models just put a hide/show test on the task/button to check if the active model is a sheet. Then if it is False it will hide the buttons in a all models other than a sheet model.

    If you are using ProjectWise and title block integration, wouldn't you see if you had title block data in the sheet file, because it would auto populate the tag set with the information from PW? If that is the case then where would the confusion come from?

    Thanks,

    Gerald Piotrowski

  • We have created a series of buttons located in the task bar that import the desired sheet size to aid in the adaptation of the sheet space environment. We have hundreds of thousands of files and we needed a method that made the process as quick as possible.

    The issue we are trying to address is how to prevent multiple sheets with tags from being imported into the same DGN? The importing is going to happen while we are in the default model so searching active model for sheet is not going to get us there. I also don't want to use config variables to drive this because there is a chance that paper sizes will change and I need the test that checks for existing sheet spaces to be more dynamic.

    Granted there might be a better way of approaching all of this, but this is what we have landed on as an organization. So for the time being the question I have is it possible to check the entire file to determine if either a sheet exists or maybe even a tag set?

    Thanks for all the replys!