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

update text box with active cell name

https://translate.google.com/Microstation v8i (ss4) 8.11.09.833good morningI can not do a simple thingI want the "cell name" text box to be updated with the active cell after selection in the cell...

View Article


Image may be NSFW.
Clik here to view.

[Connect C#] Dimension Value Parameters

I have successfully followed Yongan.Fu's example on creating dimension elements.  My question is; how do you modify the dimension value similar to the way MicroStation Connect does with the following...

View Article


how to copy tag set with one tag through from reference file

Hi AllI'm a long time stalker (have learnt a lot from you all on here) first time poster.I'm using Microstation V8i (SELECTseries4)  Version 08.11.09.872I have a reference file, the title sheet,...

View Article

[V8i C#] WPFToolkit library - .NET3.5

HelloI have a big problem with almost half of my tools. I am doing lots of development for Microstation SS4 (yes we are still on it and will be on it for a long time) so .NET3.5I was using library for...

View Article

Image may be NSFW.
Clik here to view.

Get the count of elements currently selected using VBA

Hi all,I would like to get the count of the number of elements selected in MicroStation VBA.I have already used a scan criteria to get the elements I want. Now the issue is that I would then iterate...

View Article


call a published native functions with pointers

I have published a native function ( with PP as parameters type ), that requires two parameters of pointer type :Is it right to recall the function like this ?sprintf(espressione,...

View Article

[CE/V8i MVBA] How to get textnode.boundary

Hello All,If a text element, text.boundary can get the percise coordinates of the text element. But for textnode, there is no .boundary,  .range only. And .range is a little larger than...

View Article

c#, Problem placing fence on view/model

Hi,  I can not figure out how to place a fence in C# on another model.This is with Bentley Map 08.11.09.864The process is : 1) Read the current fence information2) Switch to another model3) Place the...

View Article


[CONNECT C++] Using a Boolean variable with Dialog Manager

I'm looking at how to use boolean variable with MicroStation's Dialog Manager.  If I want to control a boolean using a ToggleButton dialog item, I believe that the only way to do that is to use an...

View Article


[CE U12 C#] Reading DimensionStyles from external DGN not working

We try to read the DimensionStyles from an external DGN(LIB) via this codeDgnDocument targetDgnDocument = DgnDocument.CreateForLocalFile(filename); DgnFileOwner dgnFileOwner =...

View Article

[CE MVBA] Problem about GetFloodBoundary

Hello All,The following codes are OK in V8i:Sub TestRegion() Dim MyRegion As Element Dim MyLines(3) As Element Set MyLines(0) = CreateLineElement2(Nothing, Point3dFromXYZ(191200.235722899,...

View Article

Zoom In to latitude and longitude

I need to create a macro to Zoom in to an specific lat/long.Does anybody know which Keyin or VBA function can i use to accomplish this?Thank youOscar

View Article

InRoads SS4 - Setup Procedure for Creating Drawing Sheets (Models) Using the...

I am attempting to create drawings using the Detailing Symbols commands but can't find any tutorials (print or video) that walks me through configuring everything that goes into it.  For instance, When...

View Article


[CE/V8i MVBA] How to get a closed range of a point

Hello All,I'm making a MVBA to convert "Table" (composed of text, textnode, line, linestring) from dgn to excel, I need to know the closed range of a point (text/textnode), then I know what text in...

View Article

read text at specific location in dgn file

Using Microstation VBA, I am trying to read text at specific location.  I have text placed in specific locations in dgn file that I now need to read.  I do not want to read text at other locations.  I...

View Article


[CONNECT C++] How do I write a formatter for TextField::CreateForElement()?

TextField::CreateForElement(..., ..., formatter, ...) works fine for my Item Type properties that store text. I don't need to supply a  formatter (i.e. formatter is nullptr) for the text to be...

View Article

[CONNECT C++] Modifying Text Properties

Trying to figure out how to modify text parameters (e.g. Bold/Italics/etc)  for existing text. I get a SUCCESS return from ReplaceTextPart(), but there is no change in the "italics"...

View Article


[CE MVBA] How to get user input of ESC

Hello All,I'd like to get user input of ESC key. Sample codes below:Sub TestCadInputD() 'record user input Dim myCIQ As CadInputQueue Dim myCIM As CadInputMessage Dim I As Long Dim pt3Selection As...

View Article

Image may be NSFW.
Clik here to view.

Run VBA on Startup not working

Hi Everyone,I'm having alot of trouble trying to get a VBA file to run on Startup. I have read the articles on both the LA Solutions page and also AskInga. I have also read numerous threads on this...

View Article

[MicroStation v8i (SELECTSeries)] C# Addin - How to call mdlCell_Create...

Hi,I'm looking to call mdlCell_create from my C# addin, I've implimented the VBA decleration but stuck on how to call it. Any thoughts welcome. Alternativly can anyone give me some guidence on how to...

View Article
Browsing all 4331 articles
Browse latest View live


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