Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
c#
C++
.dgn
.NET
.NET dotNET C# CSharp
[V8i VB .NET MDL]
2004
2004 Edition
ActiveDesignFile
API
Application Development
Bentley
best practice
bmake
bmake include path
c# bmake makefile
CE
connect
MDL
microstation connect二次开发
MicroStation Programming
microstation 二次开发
MicroStationAPI
ProjectWise API
ProjectWise SDK
SDK
VBA
[CONNECT C#] CellLibraryInfo Performance
Mark Stefanchuk
Versions: OpenRoads Designer and SDK Update 4: 10.04.00.48. And MicroStation Update 10 (10.10.00.32 and SDK 10.10.00.23). I am using CellLibraryCollection and CellLibraryInfo to find cells and I've noticed that it is slow - meaning it takes at least…
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT C#/C++/VBA] OpenRoads - Model Flags/Properties - Annotation Cell
Mark Stefanchuk
Versions: OpenRoads Designer and SDK Update 4: 10.04.00.48. And MicroStation Update 10 (10.10.00.32 and SDK 10.10.00.23). I am trying to create a model (a cell) that can be placed as annotation cell. The model gets created as expected, but fails to…
over 5 years ago
OpenRoads | OpenSite
OpenRoads | OpenSite Forum
Access Violation with SetLineStyle and trying to retrieve Element by native ref
Tricky
Hi, I am getting to grips with programming in CONNECT (Update 9), using a mixture of c++ and c#. Where possible my preference is to using the DgnPlatformNET and MstnPlatformNET interfaces but for the time being there will be quite a bit of code using…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
【C++ CE】在托管C++中编写工具 怎么编写工具的对话框
Shuai Li
老师您好,我用托管C++编写工具,用xml的方式写的工具命令,这个和一步步学MDL不一样,请问我怎么编写工具的对话框呢?
Answered
over 5 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
【C# CE】可以用托管C++来编写工具吗
Shuai Li
请问老师,C++的工具可以在C#中用托管C++的方式调用吗,可以的话,有这样的例子什么的吗
Answered
over 5 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
[CONNECT C++,C#] Difference between ScanCriteria.SetDrawnElements() and SetModelSections()?
Jan Šlegr
Hi, both in native and managed API there are two methods available (using C# notation): ScanCriteria.SetDrawnElements() ScanCriteria.SetModelSections(DgnModelSections section) My question is: ScanCriteria.SetDrawnElements() equal or not…
Answered
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
MS CE color panel定制
Zemin.Li
我有这样的一个需求,我需要在MS中对一个流场的场变量进行着色,需要利用类似Thematic下面的显示方式,这时候着色变量不再是高程,视角,而是我的矢量\标量数据,不知道有没有办法解决?另外不知道MS本身有没有内在的功能可以支持时间序列数据的可视化表达,先谢谢老师得回答。(图片分别为有限差分计算网格,和其中一个时间步的流速矢量箭头图,只是为了表达方便)
Answered
over 6 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
MS CE下如何实现类似ABD中梁板柱的动态建模
Zemin.Li
老师能不能提供一个完整的思路,分别在打开或者关闭正交的情况下,动态的绘制圆柱,C++/C#均可。
Answered
over 6 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
ProStructures API or SDK
Jon Summers
Does ProStructures or ProSteel provide an API ? Is the API included with the product or provided with a separate SDK ? What languages are supported? VBA C# C++ Glossary API: Application Programming Interface SDK: Software Developer…
Answered
over 6 years ago
ProStructures
ProSteel Forum
[Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a C# API element?
Nick Carter
I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them? From searching through these community forums and browsing the C# functions/properties I…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
RE: How to activate a model in C# V8i
HDR_Coder
Another problem with my posted code is that it only iterates through loaded models. A workaround is to write a quick VBA to activate each model in the design file and then to run the code. A much better solution is posted here. Here is the new code…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
transferring data from c++ to c# ... storage attributes example
Kevin
Hello, I am totally lost when it comes to transferring group or collection data from c++ to c#. I still don't know how to use INTPTR to read HAADMSBUFFER ... I think I need a link to a guide on where to start . Obviously, a sample visual studio project…
Answered
over 7 years ago
ProjectWise Programming
ProjectWise Programming Forum
Learning about XFT Move Operation in Map
Renato Cartesio
HI all! I need to know how use the move operation in Bentley Map. Actually, in C# i write this code: Bentley.Interop.Xft.MoveOp op = new Bentley.Interop.Xft.MoveOp(); Bentley.Interop.Xft.CmdMgrClass mgr = new Bentley.Interop.Xft.CmdMgrClass…
over 8 years ago
Geospatial Programming
Geospatial Programming Forum
RE: Dot net application not working in multiple microstation DGN
Manoj_Pal
Hi Mr. Jon & Mr.Stack I created this using C++ inside Visual Studio 2010. It is a winform application so it will work externally. Please find the Read.h (C++ header file ), where i have written the code to draw blocks give some suggestions. Thanks…
Read.rar
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Dot net application not working in multiple microstation DGN
Manoj_Pal
Hi Everyone, I have written one application to create blocks in microstation. Its working fine if one .dgn file is open. If i will open multiple dgn file , its only working in the dgn which was opened first. I used visual studio 2010, C++.net…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Create Blocks along center line and count points opened in micro station using Terra scan
Manoj_Pal
Thanks Mr. Jon Please find the Extract.rar. This is a sample C++ project to copy element made in visual studio 2008. Please can you give any suggestion to make a .ma or .dll file so that i can call it from microstation Regards Manoj
Extract.rar
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Create Blocks along center line and count points opened in micro station using Terra scan
Manoj_Pal
Hi All, I am using Visual Studio 2010 , Microstaion V8i and C++/C#.net I loaded the laser points to microstation using terrascan. I want to create blocks along the center line having certain length and width. i want to count the number of laser…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Stream a text file from ProjectWise
matinau
Is it possible to stream a text file from ProjectWise? I noticed the DocFetchFlag "AADMS_DOCFETCH_STREAM_SUPPORTED" I want to pass the streamed contents to a WinForm textbox which acts as a preview pane. Cheers
Answered
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
Export to PDF
Furabio
Hi, guys. I have a simple question: For each document in PW, i need to generate a PDF of this file. Is there a simple way to implement something like that using PW SDK? I have no idea where i should begin to do it. Thanks!
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
Can't call DLL function that makes ProjectWise API calls
joshua sorkin
Using Visual C++ (in Visual Studio 2012), I've made a DLL with a function openDoc(int projID,int docID) that calls the ProjectWise API to open a document. I'm trying to call this function from either C# or VBA, but haven't succeeded with either one…
over 10 years ago
ProjectWise Programming
ProjectWise Programming Forum
Assistance with writing dll containing specific function that will be used in C# project
Anonymous
We are wanting to create a library (dll) for searching Projectwise and returning document information. The searches will be against a known environment and include criteria that uses both document properties and attributes from the environment. The library…
over 10 years ago
ProjectWise Programming
ProjectWise Programming Forum
Accessing materials that are attached by level and/or color
Alex Hazanov
In Microstation materials can be attached directly to element or by level or by color. When material is attached by element I can access it via the API , however when it's attached by level or color I can't find where this information is stored...…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
PLEASE READ: MicroStation Programming forum best practices
Phil Chouinard
1. When including code in your post, please use the the SyntaxHighlighter, which is one of the tools in the "Advanced Reply Editor". 2. To let others know the MicroStation release and programming language being used without having to open the thread…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)
dgutierrez
Thank you both Jon and Jan. I've got some expertise in programming C# applications and I have already some developments for MicroStation, so I would like to try invoking the MDL API from C#. Nevertheless if it were necessary, I could also try to…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
What every programmer should know before writing managed C++
Mark Dane
Managed C++ brings together the worst of two worlds: the explicit resource management of native C++ and the non deterministic nature of garbage collection. Programmers have to be aware of these two different resource management strategies and know how…
over 12 years ago
Bentley Colleague Blogs
Mark Dane's Blog
<
>