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

Geographical Coordinate System .AttachNamed not working

It appears that the .AttachNamed method will not work on GCS only on Rectangulary type.  Is there some trick to make a GCS active in the ASCManager?Sub appGCS()    Dim newGCS As...

View Article


Delaunay triangulation

Hi every bodyI hope you are all finePlease I want to know witch algorithm of triangulation Delaunay is used by Microstation V8, it's the incremental algorithm or what exactly?Thank you very much

View Article


Not able to get line from another modelref

Hi,I am trying to collect all elementref from different  modelref other than active model.And i want to redraw those in active model.I tried the following code to collect all elementref, but...

View Article

Hidden line removal (mdlElmdscr_hiddenLineRemoval3)

I try to use mdlElmdscr_hiddenLineRemoval3 in mdl I don't fine which library (*.dlo) I have to include.Which one does I have to include ?thanksMassimo Franceschetti

View Article

[V8i C++] Starting a command with a CmdItemListRsc and a modal dialogBox

I'm writing a command that utilizes a CmdItemListRsc and a modal dailogBox. The modal dialogBox is used to gather a username/password keyin for a database connect string. I call that modal dialogBox...

View Article


measuring lines on a specific layer

Hi,I'm doing a design which involves laying earth tape on site, and i want to get the total length of earth tape needed for the job.The level is called "Earthing - Proposed"This is my first time coding...

View Article

[2004 MDL] Help me to know about Bmake.

I am new to this MDL and still learning it. i want to know how bmake works i ve searched alot but couldnot find the information. I ve run the example from the la-solution called "stroke" when i run it,...

View Article

[V8i C++] MstnElementSetTool and locating elements IN A REFERENCE FILE

I've got a model with a reference file attached, and I can perform MicroStation operations (e.g. copy) on elements of the referenced model. I've also got a tool derived from MstnElementSetTool that...

View Article


[V8i VBA] Convert normal cell to annotation

I created this macro to add annotation scale to selected cells but it seems to work only for "Annotation cells". How to convert also normal cells to annotation cells on-the-fly?Public Sub...

View Article


[MSJ, MDL]How to designate a password text item ?

Hi All,I noticed there is a TEXT_PASSWORD attribute for text item in V8 MDL, which can make a text item as a password input item, very cool !But I have to have such a text item in MSJ. How to do this ?...

View Article

Set Tag Values in Selected Element Only

Hi All,Having a problem with setting a tag value through VBA.I want to only set a single TagSet, but it has the same name as another set placed on the design already.The Cell is called "DM1" and...

View Article

[V8i,ML]How to use mdlDialog_listBoxSetSortColumn function?

Who can show me an example of using MDL function mdlDialog_listBoxSetSortColumn ?I want to implement a ListBox which is sorted by my own ascending order and when user change column value, the list box...

View Article

Move view to second application window by macro / VBA

Hi,I.m looking for a command to move a view to the second application window by a macro.I know this command:  MbeSendCommand "WINDOW CHANGESCREEN 5 ", but this will work like a toggle.So, if I run my...

View Article


[V8i, MDL] Drop Associative Pattern

Hello!I need to drop the associative hatching elements. I tried to use the mdlPattern_deleteAssociative, but it removes the hatch, and does not drop the associativity. So how to do it? Brummen

View Article

[V8i; vb.net] Textstyle, invalid font

How is it possible that some Textstyle-Objects have an invalid Font-Property (the Font-Object is a string "font is invalid")? When using the Textsyle with build-In tools (place text)  everything works...

View Article


Image may be NSFW.
Clik here to view.

[V8i, MDL]How to assign an appropriate argument to mdlListRow_setColorDescr ?

Hi all,My original listbox row is as below:When use change the value 55 to 80, I change the color of the row to red to indicate this row has been changed using the following two lines:    BSIColorDescr...

View Article

V8i VBA - Triforma API Documentation

Is there a decent description of the Triforma API? I've downloaded the Triforma SDK kit from Select Services and have Triforma.chm in hand, and while this help offers some guidance it is not specific...

View Article


Error in Bmake while compiling

Hello!I’m new to MDL programming, would You please help me  to solve this problem:When try to compile the mstimage.cmd with BMAKE, I get next error message: C:\MK_dev\mstimage_code>set...

View Article

Unable to Resolve mdlScan_saveContext from lib Microstation (built-ins) for "...

Dear Sir,Some of the tools i designed using mdl language for (microstation v8) is not even opening in microstation v8i software.And i am getting a warning message in message prompt like this ( Unable...

View Article

Environment background image

Hello,is there API for setting up projected environment background image for display modes?Let's say I have any image and I want to set it to be my environment image (not light probe) and set its...

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>