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

VBA and Context ACS Coordinates

Hi Members,We want to automate the creation of multiple Descartes sections along a rail alignment.I put together the following code which makes use of the point tools keyin to create a quick section....

View Article


[CONNECT C++] IViewDecoration

Interface IViewDecoration has a single implementable method virtual bool _DrawDecoration (IndexedViewportR viewport)=0.The return value is a bool, but the MicroStationAPI documentation omits to tell us...

View Article


[CONNECT .NET ADDIN] Call keyin command

How do I call a keyin command from within a CONNECT .NET C# addin? Trying to set a level transparency property (one of the few level properties not exposed in .net)

View Article

disable "No workSet alert"

Hi,First question, Marshal.GetActiveObject("MicroStationDGN.Application") as Application;how do i specify that i want the connect  edition and not v8i loaded ??it seems that it loads the last openend...

View Article

[CONNECT C++] Is it possible to mock DgnFiles/Models/Elements in order to...

Hello all,Not sure if this is the best place to ask, so I would appreciate any info or suggestions on this.Background Info:I created an mdlapp in C++ that allows a user to click on an element and...

View Article


[CONNECT C++] Tesselation representation for LineStyles

Hi, I am using CONNECT C++ to query linestyles information, but my viewer does not naturally support linestyles.So I would like to know if there are CONNECT C++ APIs to tesselate a line with linestyles...

View Article

Some Versions of Microstation not available in fullfillment center. SDK for...

Where can I find MicroStation CONNECT Edition (Full) x64 Update 4 (English) Version 10.04.00.046 and its SDK for C++ MicrostationAPI development in the fullfillment center? I cannot find it. I already...

View Article

IPrimitiveCommand not including Items attached to cells.

I am using MicroStation CE Update 9 and want to programmatically place a cell that has an Item attached using IPrimitiveCommand using VBA, I have the macro working and placing the cells ok, but the...

View Article


[CONNECT C++] ReportDefinitionNode::FindByPath

ReportDefinitionNode::FindByPath attempts to find a report definition node given a text path: Locate a report definition by its full path (including category name).  I find that it fails when the...

View Article


Apply Display Rule based on activated Named View

Hey all, fairly new to writing vba and I am trying to think of a way to apply a display rule when a saved view is applied. The display rule and saved view are named the same.I was trying to write a...

View Article

How to get the current active(open) document from Microstation CE?

Hi Experts,     I am now have a addin for Microstation CE, and the addin will get loaded when user open a dgn file, now i want to get the current open/active document/model, which api should i used to...

View Article

[CONNECT U8] FenceManager Class

Trying to utilize the FenceManager class, but the compiler complains about "use of undefined type 'Bentley::DgnPlatform::FenceManager'#include <DgnPlatform\FenceParams.h> ... FenceManagerR...

View Article

Getting user Selection with CadInputQueue.SendCommand

Hi all,I am trying to build a macro that intersects a given solid with a set of contiguous smart solids.This is where i am so far :Sub Macro1() Dim oScanEnumerator As ElementEnumerator Dim...

View Article


{CONNECT C++] DgnElementSetTool and the use of Fences/Selection Sets

I'm writing a DgnElementSetTool that (I hope) will support Fences and Select Sets. I am not seeing the _OnRestartTool() function being called when using a Fence or Selection Set. I've got...

View Article

[C# MicroStation v8i ss3] Create a table

Hello everyone,        I want to create a table programmatically in Microstation v8i ss3.  My software is vs2015 and the programming language is C#. The content of the form is taken from the...

View Article


Image may be NSFW.
Clik here to view.

[Connect C++]How to distinguish display order for elements with same display...

I believe this is a general API question that can be asked here, and if not please let me know.Here is the element display priority information copied from the help document: All elements in a...

View Article

Microstation Connect debugging using VS2015

Hi,I have been trying to debug one of the example code in Microstation CONNECT 10.08.00.37 using Visual Studio 2015 Community Edition.  Is there any documentation on how to go about doing this.  Every...

View Article


【MSTN V8i Addin C# 】How to get all the elements in the model?

Hello everyone:         How to get all the elements in the model, I use the Scan method in the VBA interface but it did't work.         Is my code wrong or there are other ways to get the elements in...

View Article

[V8i C++] Problems with "On the fly" cell creation and Annotation Scale

Hi all,I want to create some cells "On the fly" and set the Annotation Scale.I've tried to follow the guidelines in this thread:...

View Article

[Connect C#] element.ReplaceInModel does not work in update 9

Hi experts:I use the following code to modify the cellheadelement's cellname property. it works well in update8 but give a crash in update 9, the statueInt is 32768. any changes or my code's issue,...

View Article
Browsing all 4331 articles
Browse latest View live


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