Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Browsing all 383 articles
Browse latest View live

[V8i MDL] How to trigger line length parameter

Hi.I have an old MDL program that is used to replace text. I use mdlModify_elementSingle() to find the texts strings. If the text is part of text node with the line length parameter set the numer of...

View Article


mdlParams_getActive( )

I'm calling mdlParams_getActive( ) to get the active color, etc. I know if the value is -1 than it's the assigned ByLevel color. What I need however is the actual color, line style,and weight. Ideas?...

View Article


[V8i C++] Tool Cleanup and Unloading

As more and more of our custom tools are used, the list of loaded MDL apps grows quit large, as most of them are CmdItemListRsc tools. Is there any way to unload these automatically? For example, when...

View Article

[V8i VBA] ShapeElement.Normal Property

The result of VBA  ShapeElement.Normal property is incorrect in a 2D model.  Both clockwise and counter-clockwise shape elements have  the same normal.I placed two shapes in a 2D DGN model, then...

View Article

Image may be NSFW.
Clik here to view.

How to make element selection smarter?

I have got a VBA program that is designed for placing element along walls.If you start the program and move the cursor along the edges of a wall a rectangle is shown. If you click on the left mouse...

View Article


mdlTransients_* - interfering with fit view

Hi all,    In my app I'm updating from V7 -> V8 there is a guide drawn around the edge of the window from which the user user can work out where they are, picture a blue border, 50-60 pixels wide...

View Article

Running a VBA from a autorunning VBA?

I am auto-running a VBA programme on every file open using clsDGNOpenClose (AskInga), this is checking what file extension is being used and then running another VBA based on one of two file types....

View Article

Need help with OLD UCM variables in a Basic Macro--V8i-SS2 80.11.07.492

I have an old UCM I've modified to run as a Basic file and many others as a single command. The file completely draws the Plan & Elevation of bridges using LVC, grades, PVI sta, PVI elev, length of...

View Article


Dynamic Display of Elements

Dear Freinds,I am working on mdl using c programming on V8.05 (V8) and V8.11 (V8i).For dynamic display elements mdlElmdscr_display (V8) is used. But it is deprecated in V8i.So, i am using...

View Article


detect if level exist and create it (vba 8.05)

my little contributionDim Mylevel As LevelDim Olevel As LevelDim StatusLevel As BooleanDim NameLvl As StringNameLvl = "Materiel AEP existant" StatusLevel = FalseFor Each Mylevel In...

View Article

mke error (toolsubs.dlo)

Dear All,While converting v8 mdl code to v8i mdl code I encounter this error as shown in the attached screenshot. As per documentation I have created the environ.variableMLINK_STDLIB:C:\Program...

View Article

Get Element Area Between the 3 Points ( Microstation V8 Using MDL Language)

Dear Guys,In Attached Image You can See the LineString Feature with 3 points on it.Green indicates Start Point.Orange indicates Mid Point.Red Indicates End Point.1) I just want the area between the...

View Article

mdlView_updateSingle returning MDLERR_USERABORT (-144)

Can someone tell me why mdlView_updateSingle is returning MDLERR_USERABORT (-144)? That is even if the update takes place OK.

View Article


Updating MSElementDescr

I have an MSElementDescr which contains an int. After placing my MSElementDescr, I'm incremented the int. Is there an easier way to update the MSElementDescr without having to walk each element until I...

View Article

Image may be NSFW.
Clik here to view.

SS3 toolsettings dialog cannot be adjusted

Hi to all,the SS3 toolsettings dialog appears much too big - and cannot be adjusted.Even every start primitive command (while toolsettings is opened) leads to a wider Dialog. Simply clicking the same...

View Article


Getting selected subelement in Cell

I can get the selected elements in a dgn by using GetSelectedElements.What I want is, when the user selects a cell, then in the Element Information treeview, selects a subelement of that cell, how do I...

View Article

[V8i BASIC] Text spacing settings

We are using MicroStation V8i (SELECTseries 3) version 08.11.09.292 and we have noticed that when we use our macros to specify certain text settings, line spacing and inter-character spacing, are not...

View Article


problems with Terrascan

Hi,I have a problem with terrascan, when I use terrascan, in the tools menu I can not find macros.I've been looking into several sources and did not find the answer.I hope I will get the answer...

View Article

mdlRaster_fileExport Error

Hi all!I am having a problem when using the above function. I found a thread from a few years ago that was similar but I haven't been able to get past this. When the code hits mdlRaster_fileExport, I...

View Article

Problem while read level from element

Dear All,I am upgrading the MDL to V8i version , I have 2 function one is SearchReadDGN and another one is searchValidElem(to check the symbology of the elements). When using this function...

View Article
Browsing all 383 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>