mdlCell_findCell() and mdlCell_getElmDscr() returning != (SUCCESS), What will...
Private int findlib_loadCellDescriptor (char *cellName){ char msg[128]; WChar uniName[MAX_CELLNAME_LENGTH]; DgnFileP fObjP; DgnFileP cellObjP; MSElementDescr *cellDescrP;BeFileName celfilenm;...
View ArticleMicroStation CONNECT VBA Issue with ApplySavedViewElement Method
I am using MicroStation CONNECT versions 10.17 and 2023, and I have noted an inconsistency, error, and bug in the VBA ApplySavedViewElementmethod. In the VBA helpfile for both the CONNECT versions, it...
View ArticleMicroStation Python Manipulation Integration
Hello, we are doing 2D drawings on MicroStation as a team. There are certain errors that can occur in these drawings and ways to correct these errors. I'm trying to write a code that will correct these...
View Article[MicroStation CE/2023 Mixed Addin Development] Strong Named Assembly for...
Hallo All,@HongQiang Guo has graciously posted this post in the Chinese Community pages:Addin assembly interface extension - Bentley Communities where he provided a helper library to assist in mixed...
View ArticleMacro to change Item value to tag
Hi All, I am new to this forum and am looking for macro to change the item value of shared cell to tag. Can anyone please help
View ArticleCADQA in VBA?
Afternoon,How would I go about creating a basic CADQA checker using VBA? Like for example to check the levels in the file are standard ones in our library and none other created? To ensure the scale is...
View ArticleMicrostation Crashing
Hello all,We are using MicroStation CONNECT Edition Update 16.Some of our users have been reporting Microstation crashing on them. I had a look at the logs but I didn't recognize any of our custom...
View ArticleBDN
I have not been able to use the Be Communities BDN website in recent months. I get an 'access denied' message. I have not received any notification indicating why I am denied access.Is BDN still...
View Article[MStn CE C++ ] Attach XWMS rasterfile - basic authentication
Hi allWe have developed a tool to automate the proces of creating and attaching a XWMS raster file. The essential lines of code is listed below:DgnDocumentMonikerPtr moniker =...
View ArticleI have developed this excel sheet that is used to read out the tag...
I have developed this excel sheet that is used to read out the tag information and update it. But sometimes it gets too slow and takes even upto 15 mins to process. Can anyone help me in fixing the...
View ArticleHttpClient MicroStation Connect
I am developing a Mdlapp (using MSTNPlatformNET) for Microstation which would download a file (.cel or .dgn) from our Sharepoint site using REST services but I am having issues when using HttpClient,...
View Article[Mstn 2023.2 VBA] How do you find the virtual intersection of two lines?
Hi,In my 2d drawing, I have two lines that would intersect if they were extended. I have tried to use the .GetIntersectionPoints method, but it only seems to return real intersections, but not...
View Article[MS 2023] Best way to transform element from referens to master
Hi,I have tool where I'm collection graphical elements using path.GetHeadElement().The located elements could be in different reference files attached in different ways (Coincident,...
View Article[MS 2023 C#] path.GetHeadElement().DgnModel.IsDgnAttachment always false?
I'm using path.GetHeadElement() to identify elements in a DgnElementSetTool.element.DgnModel.IsDgnAttachment is false eventough the element identified is a reference. Why is that?I need to get a...
View ArticleCreating Centerline of shape block and generate linear pattern using VBA
I am using OpenCities Map Ultimate connect edition update 16.I am trying to create linear pattern programmatically (using VBA) after selecting a block shape.When i select block (left block in image...
View ArticleUnable to implement DItem_IconCmdRsc attributes in CONNECT
Greeting,I am migrating v8i code to Connect. Here i am not able to generate rsc for DItem_IconCmdRsc. but in v8i it is working fine.below are the code.DItem_IconCmdRsc ICONCMDID_section = { NOHELP,...
View ArticleDeleting an element by color
Hello ! I'm trying to do a simple task: select the elements, then run the script that deletes the elements with color 1 from selection, the remaining selected elements are to be grouped. Since I never...
View ArticleChange reference: Making a combo of posts and wonders if one can tie the bag...
I have read through several posts of renaming and changing references, and they are all almost there.I am looking to get the path from the old file reference and using it as base reference for the...
View ArticleGrouping elements based on properties
Hello, just received a new task: group elements in selection set as Named group if they don't have a property of Color "1".I've made my template which looks logical to me, but still it does not group...
View Article[MicroStation, C#, Managed DLL] Unable to remove referenced schemas
Microstation CONNECT 10.17Microstation SDK 10.Net Framework 4.8.1I am attempting to code a Managed DLL (C#). When looking at the SDK API (MicroStationAPI.chm) it indicates that ECSchema has a member...
View Article