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

VB.Net: Capture native form open or close event via Microstation Add-in

Hello,I've written an Addin (or I should say using modified Addin Jan Slegr had written...very nice, by the way) and I'm wondering if there is some way I can capture load and unload events of native...

View Article


[C# Connect] Create/link a child element to (parent element)

Hej I want to link and highlight an element with an attribute /tag or ItemProperty of that element.. for example The element I have in hand have an (ItemProperty = ID) I would like to show this...

View Article


Run Microstation macro from Excel

Hello,I Have Atleast 300 2D non-intelligent Microstation DGN files. Each file containes Piping Isometrics Generated From "Smart Plant Isometrics".Each file having few support Tags written in it. each...

View Article

[CONNECT C++] Getting RawItem of menu in dialog

I have a DialogBoxRsc type dialog with a DItem_MenuBarRsc menu and I would like to use the mdlDialog_menuBar* functions to manipulate the menu bar. Unfortunatly these functions requires a RawItemHdr of...

View Article

[CONNECT C++] CONNECT equivalent callback for...

Is there a CONNECT equivalent ? I see some defined constants (e.g. INPUT_FOPENPREPROCESS_HANDLED), but that's it.

View Article


[CONNECT C++] ustnTaskId link error

The mdlInput_xxx functions often require ustnTaskId as an argument.  If I declare that variable like this, my project compiles...extern "C" { #if !defined (mdl) extern wchar_t* ustnTaskId; #endif } //...

View Article

[CONNECT] BMake Question/Issue

I'm using a VS2013 "make" file project for my app's MDL resources. If I work on an app, then have a few days/weeks break, when I return to that app and run BMAKE again, it fails with "BMAKE: unable to...

View Article

[CONNECT C++] Strange processing when using...

In attempting to code around the lack of a INPUT_FILEOPENDIALOG_PREPROCESS callback, I've set up a InputCallback::SetCommandFilterFunction() callback. My desire is that when a certain command is...

View Article


IS this possible to update tag by using excel file?

We want to use TAG for our electrical decals. But to use tag, it must be easy to update with our reference from excel who generate the value, the description and the ID of each fuse or breaker.Does...

View Article


difficulties about recording macro in design files (not all commands can be...

Excuse me, there are some difficulties when Im recording macros in "design files-change work unit".When I changed format, the macro could be recorded and running successfully.When I customed MU and SU,...

View Article

Image may be NSFW.
Clik here to view.

How soften a linestring element ?

Hi thereI have some contour lines which are as linestring elements but they have distortion and i want to remove this distortions and have soft linestrings. I have attached a picture of contours here....

View Article

[V8i VBA] Creating multiple text elements from 2D array

I'm working on a macro which consists of a userform which does the following:allows a user to browse and select a target XLSX fileopens the file a displays all worksheet names (not codenames) within a...

View Article

Image may be NSFW.
Clik here to view.

[V8i VBA] RevolveProfile

We created a closed vertical shape element, and would like to convert it to solid by revolution with 360 degrees about Z axis. However, it is not successful in VBA. Great if you could provide an...

View Article


[CONNECT C++/C#] How do I get my MDL Apps Authorized for PowerDraft?

How do I get my MDL Apps Authorized for PowerDraft?I opened a SELECT SR for this but the Bentley support staff cannot answer this for some reason. Hopefully this post will reach someone at Bentley that...

View Article

VBA multiline note text

Hi all. I'm having some trouble with a script I'm writing in VBA for MS V8i SS3. I'm trying to insert a note without the word processor window opening, as this is part of a loop that runs a few dozen...

View Article


Is there an easy way to find out what mvba file contains a macro?

Perhaps this should be in the MicroStation forum, but I thought I would try here first.I'm in the process of helping a client clean up their mess of a workspace. The problem I've encountered now is...

View Article

[MVBA] What's the unit of text height

MVBA V8i SS5To set text height, MyText.TextStyle.Height = 5. My questions is what's the unit of the text height? master unit? sub unit? or resolution unit?In my drawing, master unit : mm, sub unit :...

View Article


[CONNECT C#] Attach raster

Hello,anyone know how to attach a georeferenced raster with C# on microstation CONNECT edition?many thanks,

View Article

[V8i VBA] Moving Point in rotated view

I'm trying to move a text element relative to a point. This is easy enough to do when my view is aligned with the ACS but it doesn't work in a rotated view.I'm sure I need to use a transformation of...

View Article

Units not correct in Microstation plug-in

Hey Everyone,I'm developing a plug-in for Microstation that inserts several text elements in the Active Model. It seems that everything I insert, the units (such as Point3dOrigin(71,44,0))end up being...

View Article
Browsing all 4331 articles
Browse latest View live


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