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

Las file loading without converting into pod

Hi Team,Programmatically can i load las file directly into MicroStation V8i (SELECTseries 4) Version 08.11.09.829 without converting into pod format ?Thank you,B Daniel.

View Article


Image may be NSFW.
Clik here to view.

Error in Microstation V8i macro: "VBA interface error

We are using Microstation V8i on Win 10, we were using a simple macro to update title block information but it stopped working, we are getting this error: "VBA interface error: unable to run...

View Article


Curve by formula help, syntax entered incorrectly?

Good afternoon,I'm attempting to write a formula for the Curve by Formula tool, but can't seem to get it right.  Was wondering where my syntax error is occurring.  I've double checked the formula on a...

View Article

[CONNECT C#] CellLibraryInfo Performance

Versions: OpenRoads Designer and SDK Update 4: 10.04.00.48. And MicroStation Update 10 (10.10.00.32 and SDK 10.10.00.23).I am using CellLibraryCollection and CellLibraryInfo to find cells and I've...

View Article

[CONNECT C++] mdlTag_create always fails with error

Hi,i want to add a tag containing a string to a shared cell, which is currently selected. The shared cell was created using a DWG file which i had imported using "Place active cell". Below you can see...

View Article


[CONNECT C++] How to create a new OptionButtonSubItem

I'm attempting to instantiate a OptionButtonSubItem object, but I can figure it out - What I'm doing will compile/link but it crashes MicroStation:OptionButtonSubItem subItem = OptionButtonSubItem();...

View Article

Batch find String and change color

Hello all,Using the following sample code, I would I find batch find a specific string and change that string to a specific color? MDL SILENTLOAD FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXTFIND DIALOG...

View Article

[CONNECT C++] Inserting a sub-item into a ButtonGroup.

I'm attempting to insert a subItem into a ButtonGroup without success (MicroStation crashes). My button Group is defined as such:DItem_ButtonGroupRsc TABPAGEID_Arch_Doors= { NOSYNONYM, NOHELP, MHELP,...

View Article


[CONNECT C++] Inserting a DialogItem (ButtonGroup) into a DialogBox

I've got the following resource definitions:DialogItemListRsc TABPAGEID_Arch_Doors = { { {{2*XC, GENY(2), 0, 0}, ButtonGroup, TABPAGEID_Arch_Doors, ON, 0, "", ""} , } };...

View Article


Image may be NSFW.
Clik here to view.

AECOsim crashing on start up

Hi,We are currently experiencing problems with AECOsim SS6 crashing on start up. When opening AECOsim it crashes straight away and exits. See error messages below. Any idea why this is happening? This...

View Article

Image may be NSFW.
Clik here to view.

Why SmartSolid.SolidUnion returns scaled element?

Hello,I have problem with creating smartsolid by boolean operation.After creating element by SmartSolid.SolidUnion it became scaled down 1000 times.Strange thing is that it happens only if I run...

View Article

[CONNECT C++] Cannot get mdlDialog_buttonGroupInsSubItem() to work

When I attempt to insert a button into a ButtonGroup using mdlDialog_buttonGroupInsSubItem(), MicroStation crashes. I can use mdlDialog_buttonGrouGetSubInfo(), mdlDialog_buttonGroupSetSubInfo(),  and...

View Article

Image may be NSFW.
Clik here to view.

[v8i MDL] How can I export the DGN default model to an image file without...

Hi,I'm programming with pure MDL (it's a huge application not migrated yet to C++) over MicroStation and Bentley Map SS4.I need to create programmatically an image file (JPEG, BMP or similar) from the...

View Article


Image may be NSFW.
Clik here to view.

Las to Pod Conversion with specified geometry units

Hi Team,Microstation Version : MicroStation V8i (SELECTseries 4) Version 08.11.09.829Requirement:  Need to convert Las file to pod Programmatically by specifying geometry units.While converting...

View Article

[CONNECT ButtonGroup] Altering a ButtonGroup's number of rows/columns

If you remove buttons from a ButtonGroup, you may end up with one or more "empty" rows at the bottom of the ButtonGroup. For example, if you have a ButtonGroup defined with 4 rows and 6 columns, and...

View Article


Adding a vba sub to enable the Right Mouse click Menu in a form

I have a vba with text fields that I want to copy or paste text to or from.I would like to have a vba routine that would do that and if possible for all my vba on my pc.I am a complete novice at vba so...

View Article

Microstation programming guidance - v8i SS4

Hi,Apologies if I am off topic, but I've struggling (literally for days) to choose a way forward for Microstation programming - and this is the only active list I have stumbled upon.My initial needs...

View Article


Help with v8i SS4 programming resources and best practice guidance, please.

Hi,I'm struggling to choose a way for Microstation programming.My initial needs are to trigger a macro every time a DGN is opened and/or closed (to create production logging CSV files).My later needs...

View Article

How to get the Elements/ECInstance in the view port with C# ?

Hi Experts,   I have a question on how to get all the ecinstance/element in a special view port( active view port)? i have a model, in different view, user will see different elements, what i need to...

View Article

How to get all the view port and ativate a specific view port, and then fit...

Hi,I want to get all the view port, then ativate each view port, then fit view with C# api?do you have any ideal? to fit the view port, I want to use the "Fit view" command in the tool bar, with below...

View Article
Browsing all 4331 articles
Browse latest View live