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

Image may be NSFW.
Clik here to view.

[CONNECT VBA] Fence and Selection Set Events

Can I suggest that VBA includes event handlers for Fence and Selection Set?Why?  Here's an example...The above dialog (VBA UserForm) has buttons, in the Element Source group, to select where to obtain...

View Article


Image may be NSFW.
Clik here to view.

Design File change Mil to inches via VBA

I have searched , worked from 3am to 7:11am trying to figure out how to change the Master Unit to inches via VBA command and the Sub Unit to inchesI tried to figure out how to use the...

View Article


Image may be NSFW.
Clik here to view.

MicroStation CONNECT Edition SDK 10.14.00.109 Examples Build Errors

Using Microstation Connect and VS2017. I have successfully downloaded and installed the SDK and I am able to run the "buildallexamples" bat file with no issues now. (Had fun tracking down the .NET...

View Article

[CONNECT C++ U14] Issue with mdlDialog_hookItemSendUserMsg

Hi everyone In our mdlMain we have somewhere : SystemCallback::SetWindowsKeystrokeMessageFunction(CatchToucheClavier);And also this following code : bool CatchToucheClavier(void* windowID, UInt32...

View Article

Created time stamp is wrong when using mvbasign.exe

Hi there, I am using mvbasign.exe to create a digital signature for mvba files. This works so far, but when checking the signature with checksignature.exe the signed date is not today's date. Instead...

View Article


How to attach Raster PDF on page 3 programmatically ?

Hi,I search and i research.  I can't find and exemple to attach one RASTER PDF on page 3.The same as the exemple...

View Article

InputCallback::SetMonitorFunction / CMD_EXIT / INPUT_REJECT does not work...

Hello, As a user we want to show a OK / Cancel custom dialog box when closing Microstation. When click cancel, Microstation must remain opened.We implemented this as...

View Article

[MVBA] How to select a file

Hello All,I'd like to select a file by dialog, like excel.FileDialog. I found shell.browseforfolder, but it is for folder, not file. Does anyone know how to select a file in MVBA? Thanks a lot.

View Article


Image may be NSFW.
Clik here to view.

How to get the current view zoom extends Coordinates?

Dear All,                I am working with Microstation v8 2004 Edition with the VBA. I need to place the rectangle of the current view zoom extends. for clear understanding please refer the below...

View Article


UserForm_Initialize Sub Causes MicroStation to Crash

V8i SS3 VBAI'm developing a set of tools for a client in VBA. We're both using V8i SS3, but I'm sure there are differences between their machines and mine. I've found that when I comment out the...

View Article

v8i Built-in uStn Library of Shapes or text frames.

AllI am starting a new VBA project for our group to place call-outs & notes that are NOT dimension styles.  I am defining the call-outs as a text field with a frame around it using predefined...

View Article

Batch process script to delete a fenced area?

Hi,I am having problems with a simple batch process script.I need to delete some elements in a series of drawings  These items are in my front sheet and I'm trying to batch process it using a fence,...

View Article

[CONNECT .NET] Get File Branding

I want to get a DGN file's brand (i.e. Its workspace and workset).  I've made some progress...if (DgnWorkSetInfo.ExistsOnDgnFile(dgnFile)) { using (DgnWorkSetInfo info =...

View Article


[CONNECT C++] IDgnWorkSetInfo Properties

Class IDgnWorkSetInfo has methods relating to properties...AddProperty (overloaded for several data types)AreAllPropertiesLoaded () RemovePropertyBut there's no GetProperty().  How can we obtain the...

View Article

[.NET SDK] Get Selected Elements

Hello,I need to get a selected elements via .NET SDK. I've found the method GetSelectedElements, but seems it is only for VBA. Please advise how to achieve this using .NET.Thanks,Victor.

View Article


[C#] Get ECInstance of Element

Hello,In addition to the topic [.NET SDK] Get Selected Elements, is there a way to get ECInstance knowing an Element? I can get Element of ECInstance (ECInstance.Element), but how to do vice versa?Open...

View Article

[VBA] [V8i] Add Model from source dgn

Good morning everyone,is it possible add a model (existing in a "source" DGN) as model in a "target" DGN? I mean with original content.If yes, how?Bye,Paolo

View Article


Image may be NSFW.
Clik here to view.

[MSCE update 13 C++/C#] How can I change the reference visible edges from...

Hi all,    Now I want to change the visible edges from dynamic to cached. And I can see the operation from the dialog of reference, but I did not find it from the API for C++/C#    Can anyone help to...

View Article

Unit System value

Why is the System value for US Survey Foot set to 1 in the units.def file, but set to 3 in the two different .h files?V8i - msdefs.h file#define     UNIT_SYSTEM_Undefined       0#define...

View Article

[CONNECT v8i C#] trim complexstring

Hello,i would like to trim a complexstring element at a certain point to get the resulting 2 partial complexstring elements.I have to do this in the .NET Interop API, since the code needs to be ported...

View Article
Browsing all 4331 articles
Browse latest View live


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