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

Image may be NSFW.
Clik here to view.

Run Addin without UI

I am using the COM API through Interop assembly code below to scan the document for some reporting. public Application ustnApp = new ApplicationClass();ustnApp.OpenDesignFile(fileName); (Blank...

View Article


[Connect C#] Clip Element

Hello,in V8i I use this class in an Addin to Clip elements.public class ClipService { [DllImport("ustation.dll", EntryPoint = "mdlClip_element", CallingConvention = CallingConvention.Cdecl)] private...

View Article


[CONNECT C++] MSValueDescr

The CONNECT MicroStationAPI introduces the MSValueDescr, which is a wrapper around ValueDescr.  ValueDescr is a variant data type, where the programmer had to take care of memory management for Unicode...

View Article

Microstation SDK

Hi,Where may I download Microstation SDK for Microstation Connect Edition Update 6?I don't find any link of any SDK in Software Download page.Thanks for help.Best Regards,Jean-Claude

View Article

[CONNECT C++] How to use MFC Classes CString/CStdioFile

Im not sure that this is even possible with the CONNECT API but is it possible to use the standard MFC classes CString, CStdioFile etc? I am trying to port some legacy code into a working CONNECT...

View Article


[CONNECT] Using the ECSchema Editor 1.0

I'd like to use the ECSchema Editor 1.0 to examine my Item Type schema.  The first problem I come across is that my schema is stored in a MicroStation DGNLib and the ECSchema editor can open only XML...

View Article

[CONNECT C++] DgnECInstanceIterable

I'm attempting to enumerate EC instances in a DGN model...DgnPlatform::FindInstancesScopeOption option (DgnECHostType::Element);FindInstancesScopePtr scope = FindInstancesScope::CreateScope...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] Construct ECQuery to get Item Types

If I build an ECQuery like this, to search for, say, DGN shape elements...ECQueryPtr query = ECQuery::CreateQuery (L"BaseElementSchema",   L"MstnClosedBoundary", true);Then use it with...

View Article


[CONNECT C++] EC SearchClass

SearchClass Struct Reference#include <ECQuery.h>EC SearchClass seems to be an orphan.  It's defined but never used, at least publicly.  Perhaps it's used internally in ECQuery methods that take a...

View Article


[CONNECT C++] ECQuery::SetPropertyValuePreFilter

I would like to fetch instances of my Item that match a particular property value.  I would like to add a property filter to my ECQuery.  Method  query->SetPropertyValuePreFilter() looks like it...

View Article

[CONNECT C++] ECQuery::SetPropertyValuePreFilter

In another post I asked about the ECQuery::SetPropertyValuePreFilter method but found that ECQuery::SetSearchCriterion was a much better solution to my problem.That leaves me with the question: When is...

View Article

[V8i] VBA to .NET addin or standalone

Hi all,I have a completed VBA project which I would like to now reproduce it outside of VBA. From what I understand the simplest of my options are to use either VB.Net or C#; I have some experience...

View Article

Detaching Attribute-Links by keeping certain valid Links

Hi everyone,I am writing an MDL-application for Microstation v8i [SS4] that is connected to a database.To make sure, that only valid MSLinks are attached I want to Stripoff all unneccessary MSLinks, by...

View Article


[ADDIN .NET] "Exception has been thrown by target of an invocation" When...

Hey guys I would really appreciate any help on this.  I'm trying to just get to the point where I have a .NET MDL Form application I can launch from a toolbar or Icon.  I am pretty good with .NET, but...

View Article

[CONNECT C++] ECQuery: ECExpressionCriterion and HostExpressionCriterion

ECQuery::WhereCriterion does the job when filtering EC instances using string selection.I notice that two other classes,   ECExpressionCriterion and HostExpressionCriterion, inherit from...

View Article


Image may be NSFW.
Clik here to view.

C# Power InRoad SS4 Modify Link Segment

Hi,I'm Trying to modify an existing Link Segment between two nodes. but changes not applying on Link Segment.Below code will add a node to an existing Link at given coordinate, But  not modifying the...

View Article

Forum Icon Test - Please Delete This Thread

I posted this on 18-Sep-17 to see how the Be Communities site deals with icons in my signature in a new post.

View Article


What are the differences between the MacroStation .Net and MDL Native Code APIs?

I took a quick look at MicroStationAPI.chm and MSTNPlatformNET.chm. Seems MicroStationAPI are Native C++/C APIs, and MSTNPlatformNET are .Net APIs like C#, and VB net. Both have object model. But the...

View Article

2 models, temporary visible of the mouse position, vba

Hi all,I have 2 models in the same dgn. 1 model is for a rasterfile ("Radargrammen") and the other for the overview ("Model"). In the model Radargrammen i hover with my mouse over the raster and i am...

View Article

Is there a way to read the DGNLIB name of a level in a dgn file in VBA?

I was looking to see if as I step through a Levels collection, if it is possible to derive the file that is providing the level? There does not appear to be a VBA property, so I was wondering if anyone...

View Article
Browsing all 7260 articles
Browse latest View live


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