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
Hi Regan,
I found some free time and updated a project I played with a few years ago. A resuilt is an attached symbol provider library with the required functionality:
Please be aware it's a freeware without any warranty or support provided.
With regards,
Jan
LabTechSymbolProvider-0.8.2.0.zip
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi,
Unknown said:Would it be possible to get the source code as well?
No. I released this SymbolProvider several years ago as freeware, so right now it's closed solution. I thought already to put it as open source to e.g. GitHub, but because of total lack of time it will not happen soon. The development is based on playing with a code without detail documentation, so before such migration will happen, I want to be sure the code is correct ... and personally I have also to be clear I really want to open and share my not small invested effort and time ;-)
Unknown said:Also, is there a good resource that teaches how to build your own named expressions?
As far as I know there is no documentation and SymbolProvider API is not a part of standard MicroStation API, there are only functions to work with existing providers and expressions. I did my testing and research based on notes from BDN conference several years ago (I guess it was 2008), I don't know about any other. So if you are BDN member, you should have access to the materials.
I have no problem to add or modify the functionality if there will be valuable request and enough time to implement it, as I already did with some my other free tools in the past.