Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
Developers and Programming
MicroStation Programming
Cancel
MicroStation Programming
Sign In
All tags
.dgn V8i
#MicrostationV8i
#vba
.dgn
.dgn V8
.NET
.NET dotNET C# CSharp
.NET Microstation Programming
[v8i MDL]
[V8i SS4
08.11.09.864
64 bit
animator
API
API SDK programming
Attachment Settings
batchprocess
Excel
Macro
MicroStation
MicroStationV8i
MicrostationV8i #API SDK programming #3d model #BentleyMicroStation
mvba
name
v8i
VBA
[MVBA, MicroStation V8i (SELECTseries 4) - Version 08.11.09.829 Windows x86] Selected text to the value of the specified tag
Jega Vigneshwaran G
Hi all, I am new to MicroStation programming and need assistance with a specific task. I want to retrieve a text element from a provided point and use its value as a tag value. I have included the code that I have prepared, but it is generating a "Compile…
3 months ago
MicroStation Programming
MicroStation Programming Forum
read text at specific location in dgn file
Anuj Srivastava
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 defined a variable "dTxtLoc" as double and assigned a…
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
c#, Problem placing fence on view/model
Julian Karolini
Hi, I can not figure out how to place a fence in C# on another model. This is with Bentley Map 08.11.09.864 The process is : 1) Read the current fence information 2) Switch to another model 3) Place the fence in this model - same place as it was…
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
Facing an error in microstation v8i selectseries4 while defining actor path for animating a man model to a defined path.
Narayan Kavinatamai
I am using microstation v8i ss4. I have created keyframes for animating (making the man model walk). After setting the keyframes, when I am defining the Actor path and orientation it is showing the following error. Can anybody help me out?
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
Text Background BorderMargins.X and BorderMargins.Y not responding to macro
Bill Peterson
I have a very simple macro below that appears to be correct but for some reason the BorderMargins.X and .Y values do not change when the macro is run. Why is that? Sub Macro1() Dim otext As TextStyle Set otext = ActiveSettings.TextStyle otext.BorderColor…
Answered
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
Hilite Key-in and VBA Stopped workiing
Richard Phillips
Micristation took a crash after which my Key-in scripts for setting the design file color quit working, both the VBA and Key-in's I think it is an MDL file needs loading but unable to figure it out. Examples of what did work: 1:25 PM 10/7/2018 Hili…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Tittle Block Modification
irfan aslam
I have many DGN drawings. I want update tittle block on each drawing to edit on text according to excel file.
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Get Element Angle Tool
Danny Turner
Is there a tool which works in Microstation Connect which rotates elements to specific angles? I had one for V8i but it won't load into Connect.
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Help writing MVBA to drop status on cells in dgn
Jon Zachary
All, I am using the below macro code to drop complex on cells in my dgn file. After running nothing is changed except the color of the cell. New to this object model and just hacking my way through. Any direction is greatly appreciated. regards…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
【C# mstn V8i Addin 】Get the user's Toggle AccuDraw coordinate system. And then change the three-dimensional perspective of my painting CellElement.
Hua.Yang
I want to get the user's Toggle AccuDraw coordinate system ( Toggle AccuDraw coordinate system through the shortcut keys such as T, F, V, S, etc. is not the ACS auxiliary coordinate system), change the Toggle AccuDraw coordinate system, and then change…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
[Microstation V8i Select series 4] mdlKISolid_faceData()
Bhargava Konduru
Hi All, I am trying to use the below MDL API to get the data from a face. I have got this face with a smart solid using the API mdlKISolid_getFaceList(). I use C++ language. mdlKISolid_faceData( KILOOP** loop , KIFACE** next , void** surfacePP …
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Entering Multiple Lines Using Notepad
Dery Teixeira
Hello, I currently am able to find and replace text using the following code in Notepad, utilizing the batch process command in utilities, version V8i: MDL SILENTLOAD FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXT FIND DIALOG SEARCHSTRING OLD TEXT HERE…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
level override colors off
Richard Phillips
Win 7 V8i, I have searched found the following but do not seem to understand ActiveDesignFile.levels("Kerb Invert").UsingOverrideColor=False And make sure you update the design file with: ActiveDesignFile.RewriteLevels Same thing with .UsingOverrideLineStyle…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
using a mvba command directly in a Key-in command
Richard Phillips
I found the mvba command for opening the Element Information (CadInputQueue.SendCommand "MDL KEYIN ELEMENTINFO ELEMENT INFO DIALOG") would like to have key-in do this for me or somehow use the activate it via the vba command like this (vba execute ActiveSettings…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
[v8i SelectSeries 4] Convert to BsplineCurveElement
Jacky Lei
Hi all, I'm new to microstation VBA coding and would like everyones input on my problem. My VBA code in Excel does the following 1. Opens and creates a microstation DGN file named "DrawPoints" 2. Iterates through coordinate values in excel sheet and…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Adding an element to a named group that is in an attachment, Error Number -2147219301, Error Description: Far reference
Michael Vollmer
I am trying to write what I thought was a simple program to add elements to a named group if they meet the criteria I designated. However when I go to add an element that is in an attachment to a named group I get an error (Error Number -2147219301, Error…
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Edit Dimension Element
Dharma Rajan
Dear All, I want to stretch the existing linear dimension element between two points. How to accomplish this by using C#? For line element, we have 'modify vertex' method. Similarly, is there any inbuilt method/option is available to modify linear…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Key-in for Element Selection or Powerselector
Richard Phillips
I use a Key-in in script file when it runs the element selection tool (powersel) is gone so I have to reload. In the VBA routines you can have it reloaded automatically SCRIPT: set weight toggle selview all update all Works fine, but have to reload…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Can we build a Microstation Application(C++, dll)just with Visual studio, just as we develop a general dll?
Rick cheng
Hi Experts, I am new to Microstation Application(C++) development, and i have no experience about the make file configuration, and would like to write, compile and link code with just Visual studio, so my question is whether we can avoid to use Miscrostation…
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Does we have the same level of api access(access Bentley DGN files with full fidelity) when develop extension on top of Microstation with a C# addin and a MDL application.
Rick cheng
Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL development environment( especially about the make file…
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
How to attach a MSLink to an Element
Ines Wieland
Hi Everyone, I am trying to write an MDL in C/C++ that should attach Meta-Data to Elements in an external MDB-Database. I wrote already Code to make sure that the correct Database (DB) is attached, but now I have Problems how to attach the created…
Answered
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
[MICROSTATION V8i SQLITE ODBC]
Roberta Franceschetti
I 'm trying to connect MicroStation to SQLITE by ODBC, but MicroStation don't see the table Thanks
Answered
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
Metadata
Don Shepherd
This may be the wrong group but I figured you guys would know the answer. My office is involved in some litigation over an old project. The Lawyers are asking us to give them the "metadata" for the project in question... Is it even possible to export…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
VBA does not recognize reference logical name change unless file is closed and reopened
Roland Cyr
I have a vba that attaches a reference with a logical name as "BORDER". The reference dialog box shows the attached reference with logical name as "BORDER". I will then run a second vba that looks for reference logical name as "BORDER". The second vba…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Custom Linestyles won't resymbolize if they are in a reference file
jeff clough
Hi Jan/Jon, Thanks for the responses, I should have been more clear originally, but here is more information. I'm having some difficulty with the quoting, so I hope this comes across formatted ok. I recommend to read and follow MicroStation Programming…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
View related content from anywhere
More
Cancel
>