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

[CONNECT .NET] ElementPropertiesGetter

I'm using an ElementPropertiesGetter.  I can get a colour...ElementPropertiesGetter propertiesGetter = new ElementPropertiesGetter (el); uint colour = propertiesGetter.Color;So far, so good. But, if...

View Article


Batch process to change color of part of a text in Micro station with VBA code.

Suppose I have a text " Not to Scale" in 100 sheets. I need to change color only to "Scale". Finally the output should be "Not to Scale". Is there any solution for this in V8i version

View Article


Bentley.GeometryNET.Common.IPlacement

Hi, I am new to Programing in Microstation. I am currently working on a test add-in for ORD which does basic stuff (from C#.net). just gonna create CircularCylinder  from 2 points but will I use...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT .NET] User Interface Icons for Element Symbology

Does the .NET API offer any public icons that we can use in an app's user interface (UI)?  The Element Properties dialog, for example, displays icons for element symbology and level...

View Article

[CONNECT Update 12 VBA], [V8i SELECTseries 3 VBA] VBA Function "ShowOpen"...

Hello. My first post, so please be patient!I have problems using vba Function "ShowOpen". My vba runs fine on MicroStation V8i (SELCTseries 3), but it will not open Dialogbox for selecting file in a...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT MS Update 14, OpenRoads 2020 R2 VBA] Return text element intersected...

Hi, Is it possible to return the text element that has been intersected by a line element as shown below -

View Article

[C# COM MSCEU14] COM Interop from X86 process

Having trouble getting a x86 program to work with Connect. using System; using System.IO; using MicroStationDgn; namespace ComInteropTests { class Program { private const string SeedFile = @"C:\Program...

View Article

[C# Connect U14] Transient-Element not working for Parametric Elements

I used the COM Functions CreateTransientElementContainer1(null, MsdTransientFlags.Overlay, MsdViewMask.AllViews, MsdDrawingMode.Hilite); and AppendCopyOfElement(element); but this doesn't work for...

View Article


MDL V8 tool to CONNECT EDITION Migration

Dear Team,We are migrating old MicroStation V8 tools(.ma) to CONNECT EDITION 14.Our old v8 tools contains .rsc resources only but for migration we need .r files it seems.can i migrate my old v8 tool...

View Article


[CONNECT .NET] Get Line Style Name from Level

I want to get the name of the line style that is applied to a DGN element when its style is ByLevel. Thanks to a hint from Maury, I can determine if a line style is ByLevel, but what next?name =...

View Article

[C++ Connect U14] Placing parametric cells takes long time

HiI've made some code to place parametric cells and edit the ItemType property values. I've realized that when I work with parametric cells that are just a little complex it takes quite some time....

View Article

[CONNECT .NET] LsDgnFileMap.Resolve does not exist

The documentation for LsDgnFileMap has this: If the line style map is a LsDgnFileMap then the LsEntryP that is returned may be a pointer to a stub used to translate from element style number to name....

View Article

[CONNECT .NET] Text Handler Classes

The DgnPlatformNet help documents the TextHandlerBase class.  It has this note: Base class for text element handlers; should NOT be sub-classed directly (see TextNodeHandler and...

View Article


[CONNECT .NET] What does ElementId (ref long value) Do?

The .NET ElementId constructor requires a long value.  But that value is passed by ref.  To me, ref implies that the value may be changed inside the ElementId.  Why is ref in the constructor?

View Article

[CONNECT C++] How do I get the functionality of mdlElmdscr_readToMaster() in...

I am trying to update some existing code to Connect. The code simply zooms the active view to show an element. In the past I used mdlElmdscr_readToMaster() to read the element from any model and used...

View Article


[MStn CE U14 C#] How to obtain SmartFeaturesSchema?

Hi,I need to create ECQuery using classes from SmartFeaturesSchema.My problem is that this schema is not stored in DGN file and is in not delivered with MicroStation installation as extrinsic too, but...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT .NET] TextElement.Description: too much information!

I'm extracting element information from various kinds of element that contain text.  I want to describe the element (e.g. Note Element, Text Element, Text Node Element).Element.Description does what I...

View Article


Finding a rounded coordinate in a rotated view along Element, MST8i SS4, VBA

Dear All,I'm drawing a square in rotated View and want to create horizontal lines every X-m. But i'am getting a not rounden X-Cooordinate on the Start of Lines.So I have perhaps to calculate more...

View Article

CONNECT C# Addin Element Template

Is there a way to set attributes to Element according Element Template from attached dgnlib  (C#) ?In 2016 Jan Šlegr wrote: "I guess there is no documented NET API available", may be after time...I...

View Article

IT

开发环境VS2013,配合CE Update 4进行MDL开发。手工建立VS项目时,需要建立批处理文件MakeMa.bat,内容为 CALL "%MSV8i%mdl\bin\mstndevvars.bat" "%MSV8i%" "%MSV8i%" CD /D "%ProjectDir%" bmake,但是在CE SDK Update 4中找不到mstndevvars.bat文件,请问该怎么解决?

View Article
Browsing all 4331 articles
Browse latest View live


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