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

[V8i SELECTseries 3 VBA] IncludeOnlyWithinRange

Good evening,please see attached files, module: smartDim, sub: Dimension.If I include IncludeOnlyWithinRange I get no element!Why? Thanks a...

View Article


[CONNECT .NET] Session.NewDesignFile

Session.NewDesignFile() returns an int.  What is the meaning of that value?  What value does it return if the file is successfully opened?

View Article


How to disable menu in MicroStation CE Update15 using XCommands?

Attached sample code snippet. I am getting command name using Xcommand.In that, there is SetIsEnabled(bool Enabled) API. How to use this. I am facing compilation error in Visual Studio 2017.void...

View Article

RotMatrix InitFrom2Vectors vectors wrong?

Hi,I'm using the function RotMatrix :: InitFrom2Vectors( DVec3dCR xVector, DVec3dCR yVector) to initialise a Rotation Matrix for a new ACS.RotMatrix acsRot; DVec3d xVector, yVector; xVector.Init(0, 1,...

View Article

[ORD] Run script file located on ProjectWise in Key-in

Hi, I am trying to run a script file (with simple set of commands) by using key-in: @"script_file_name"It works well when the file is located on a local drive but I don't know how to refer to that file...

View Article


[CONNECT C++] Wait for locate element command

I have have an application that creates its own dialog box, which is launched from my MDL application. I require functionality that the user locates an element in the DGN file and the control returns...

View Article

[CE U15 VBA] Stacked fractions not working with tag data.

I am updating a V8 mvba app to Connect that includes a mix of placing text and injecting data in tags that are present in cells.  For text placement I can get the fraction to stack as long as I send...

View Article

Image may be NSFW.
Clik here to view.

Display Items in Group Box Item

Hello,In my DialogBox, I want to group dialog items like text-inputs, labels and buttons. The Group Box Item can draw a rectangle around a group of dialog items.How am I able to group dialog items, so...

View Article


[CONNECT V10.14.02.01 .NET] Get variable variations from model

I've got a DGN file that contains a couple of models, each model contains a single element that is fully constraint and uses Variables and Variants to change dimensions.I'm trying to create a plugin...

View Article


[C# MicroStation CONNECT update 15] When starting MicroStation.exe via...

When starting MicroStation.exe via Process.Start(), how to redirect "MicroStation Text Window" text? Here is how the exe is being started and trying to capture the output stream:ProcessStartInfo...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT V10.14.02.01 .NET] Placing complex shape loaded from different model

I'm trying to create a .NET addin that loads a DgnFile as read only that contains a couple of models, with in each model a single complex shape consisting of lines, arcs and constraints. After this Dgn...

View Article

How to cancel save/auto-save action through API?

Hi,I am trying to cancel some actions (ex. File->Save, File->SaveAs, File->print, File->close). I can able to block other commands in above except File->Save. While blocking save action,...

View Article

[Connect Update 15 C#] Create .sm file from dgn file

Good day. I am busy creating .sm files from a .dgn file using MicroStation. My question is, is there any way that I can do this without opening MicroStation?I am making use of batch scripts where I run...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT 15 VBA] Unable to load VBA in cad file.

Our site just upgraded to Microstation Connect 15 and I am unable to load jumper.mvba into cad file. I followed Jon Summers instruction on how to add the file to the Standards folder where Microstation...

View Article

Is there a macro for saving a user profile and using the same on a new...

Hi,I am interested to know if there is a way to save your user profile and then use the same on another computer.RegardsLochlan

View Article


Image may be NSFW.
Clik here to view.

[MSCE U15 VBA] MsdCoordinateAccuracy

MicroStation CE supports fractional accuracies of 1/128 and 1/256 in the Design File SettingsThere are no selections for either of these two values in  MsdCoordinateAccuracy 

View Article

[CONNECT .NET] Get value of MicroStation global variable

MicroStation CONNECT continues to use public global variables.  The one that interests me at the moment is mgds_modes. It's defined in header file MicroStation.r.h and declared extern in...

View Article


[MSCEU15, C# AddIn] How to suppress the MicroStation Problem Notification Dialog

I want to suppress the MicroStation Problem Notification dialog, instead MicroStation should exit immediately in case of error.Is this possible?Background:My AddIn is part of a batch processing...

View Article

How to interpret/learn the exception log while MicroStation crashed?

We have observed the crash in our custom docking dialog code implementation. How to interpret the exception logs created by MicroStation for analysis.(As sample logs below)GUI Last Dialog Hook Call:...

View Article

Creating TextBlock from reading sequential ASCII file data

I am reading "LABEL X Y" values from an ASCII file, format as per below.+122400 -9941.45 -122400.00+122000 -9941.45 -122000.00+121600 -9941.45 -121600.00Using CONNECT SDK and C++ code.I create a...

View Article
Browsing all 4331 articles
Browse latest View live


Latest Images

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