[Connect MDL/C++] Dependency between textnote and leader
HiI want to place a textnote with leader and establish a dependency between them in a way that when the user moves the text element then the leader will be changed accordingly. So far I got...
View Article[Connect Update 16 C#] Get Datafield from Textblock
There are a few examples of identifying EDF in a single textblock using the C++ api, i was hoping someone has done that in the .net api, or could point me in the right direction. I am able to Get...
View Article[V8i VBA] What causes a macro to behave different when run via key-in, but...
Is there anything obvious I should be aware of? FWIW I have been testing Boolean operations on SmartSolid Elements; when I run my macro from the IDE it works without a problem yet when I run it from a...
View Article[Connect Update 16 .NET] Updating element inside of cell
I've gone through all the threads I could find regarding ReplaceInModel method when it applies to elements within a cell and so far no one has provided any direction. In the code below:TextElement...
View Article[C#/MDL] Merge reference into Master
Dear experts: Is there any method to achieve this target by programing?I found and try some Net apis but failed....
View Article[SS10/CONNECT] Modify VBA that Adds a Model from Another File Preserving its...
We have a tool written a while ago by others. It uses a "seed model" in another file to create a new sheet model in the active file. this is the code:Set mdl = ActiveDesignFile.Models.Add(mdlTemplate,...
View Article[MSCE U13 c++] how to attach itemtype to .cel ?
I want the element from mdlplacecell to have itemtype which will be set from within or on .celright now I can only place itemtype on individual elements of .cel not as a whole.
View Article[VBA] Yet another Class problem
My brain has either gone blank, or I'm simply encountering a situation I haven't had previously.I've created a New instance of a Class (I'll call it ClsC for ease of understanding) from within the...
View Article[Ss10] Are there new functions, properties and methods added in V8i that are...
I am working on a few legacy VBA Projects. Some of them create hatchings and patterning. These are now all defaulting to Associative hatches and patterns. I cannot locate anything that would allow me...
View ArticleAngle between lines
Hi,I would like to use vba for one purpose but my skills are not sufficient to do so.I have set of connected lines in Microstation and would like to select those between which the angle is less than...
View ArticleIs there anyway to create a program that will remove all callouts from a...
I am New to Microstation... Is there anyway to create a program that will remove all callouts from a certain level. Unfortunately the folks that created the file previously placed callouts and drawings...
View ArticleGet Volume from element using VBA
Is any way to get the volume from a cell or element using VBA?Regardslc
View ArticleMicrostation Connect MDL Edit Tags in a Descriptor
Hello:I have an issue related to edit tags using MDL on MS Connect.I'm trying to edit a tag attached to an existing cell.It is the code I'm using but I think something is missing.int can_tag = 0; int...
View Article[CE U16.2 C#] Bridge between Bentley.Geometry.SolidPrimitive and...
I have a DgnPrimitiveTool derivative that generates solids into a DGN from data in a database as an interpretation of the data.This tool can generate individual Solid elements using the...
View Article[CE][CPP] Visualization Parametric cells 106
Hi folks!I have a little problem with the visualization (ViewCallback::SetSubstituteElemFunction). I want to highlight a few elements in color based on external data.E.g. Show all circles belonging to...
View Articleloading object libraries / references dynamically
Hi all,we're using some routines for excel output on different machines (using Excel Object Library.)There we find different versions of excel and so different versions of object libraries:How can we...
View ArticleVBA - Adding ActiveX controls to the toolbox
OpenCities Map on Windows 10, 64 bit - VisualBasic for ApplicationsHow to add a Microsoft TreeView control to the form toolbox ?The TreeView control is contained into the mscomctl.ocx file (32 bit),...
View Article[CE U16 C++]Best way to connect a desktop gui application sending and...
Hello,we are currently migrating an application wich was using the COM connection (which isn't possible anymore due to the problem described here:...
View Article[Connect Update 16 C++] Where do you find c++ 14.2X tools for bmake to work?
When i try to build a c++ project using the SDK, i get this error:BMAKE: Error - C++ 14.2X tools are required but not installedBMAKE: call traceWhere do I find this and how do I get this installed? In...
View Article[Connect Update 16 C# + C++] Calling methods in DLL (p/invoke)
Ok, so i have some questions regarding the p/invoking of methods out of a dll:Does this look right for dllimport if both DLLs exist in the same folder? I am using an example project to test with. Both...
View Article