Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
C++
API
.dgn
.NET
.NET dotNET C# CSharp
2004
ActiveDesignFile
API SDK programming
Bentley
Bentley Developer Network
bmake
bmake include path
C plus plus
C sharp
c#
c# bmake makefile
dgnfile
MDL V8i
MicroStation Programming
MicroStationAPI
Programming
ProjectWise
ProjectWise API
ProjectWise SDK
ProjectWise SDK samples
SDK
v8i
[Connect C++] How to get the color of an element?
Mario Pîrău
Hello, I have a problem while retrieving the colors of the different geometric parts of an element. For parsing the geometry I'm using the IElementGraphicsProcessor to process the element and retrieve the different graphic primitives types (SolidPrimitives…
Answered
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[Connect C++] list with all the "class name" types of an element
Stefano Beccaletto
Hi, Is there a way to get all the class name types that identify elements? Typically for gathering the class name I'm using the following commands: for (DgnECInstancePtr instance : ecMgr.FindInstances(*scope, *ecQuery)) { DgnElementECInstanceP elemInst…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
Getting started with the SDK
Guillaume Charbonnier
Hi, I need to create a PW API based application but I am struggling with the SDK documentation : from what I have seen it seems to be code generated document listing function and struct of PW module with a brief description of parameters...What I need…
Answered
over 4 years ago
ProjectWise Programming
ProjectWise Programming Forum
Unable to read v8i.dgn files .
Varun B
[08.11.09.292 V8i SS3] [C++ Visual studio 2015] I am reading a v8i.dgn file using mdl API's , but for some reason , i cant open/read the read only file . Code :: //Name - File name with complete path int iOpenStatus = mdlSystem_newDesignFile…
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
[MSV8i C++]有没有mdl函数来实现修剪实体工具的操作
yl fan
类似的有mdlKISolid_booleanDisJoint可以做剪切,但用起来有点麻烦,请问一下有没有修剪实体的函数直接可用啊???
Answered
over 5 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
RE: Clip Boundary
HDR_Coder
https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/343173/basic.maHere is the final program I created that uses scanning and clipping. This program scans the file for a highlighted shape (must be a 4 point shape…
over 7 years ago
MicroStation Programming
MicroStation Programming Forum
RE: create abstract document (document with no file) ?
Dan Williams
Did you try it? This works (ProjectId is set before this code with the id of the folder to create the document in): LONG lDocId = 0; LONG lStorageId = 0; LONG lFileType = 0; LONG lItemType = 0; LONG lApplicationId = 0; LONG lDepartmentId = 0; LONG lWorkspaceProfileId…
over 7 years ago
ProjectWise Programming
ProjectWise Programming Forum
PowerInRoads API C++ SS2, "SCadIRD.h": number of points at specific station.
Hugues Paquet-Blanchette
Hi forum! we try to use functions in ScadIRD.h. We cannot get the number of points at specific station wchar_t* name = NULL; // <= Active corridor name ALGalign** pAlg = NULL; // <= Active corridor alignment double* dStartStation = 0; // <= Active corridor…
Answered
over 8 years ago
OpenRoads | OpenSite
OpenRoads | OpenSite 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
C++/CLI
Chad Crowe
Hello. I have figured out how to compile DLLs in VS for Excel and create my own C++ functions. My ultimate goal is to be able to write C++ programs that operate within Excel and Microstation. My question concerns C++/CLI or the C++.net. Is one able to…
Answered
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
Finding all documents in subfolders/subprojcets with a specific name, fast!
Per Bodin - AEC AB
Can anyone point me in the right direction on how to accomplish this? I need to find if there is a document in a project that already have a specific filename. I use the aaApi_SelectParentRichProject to find the current project and I want to…
Answered
over 8 years ago
ProjectWise Programming
ProjectWise Programming Forum
[v8i C++] ToneMappingType definition missing
Jon Gaudet
Hey all, I've been trying to play around with the C++ Rendering API in version 08.11.09.460 of the SDK, but I've run into the following compilation errors when including LxoRender.h: c:\PROGRA~2\Bentley\MICROS~2\MICROS~1\mdl\RenderingAPI\ToneMap.h…
Answered
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
VS 2003 and VS 2005
Rafał Karczewski
Hi As I know Bentley application should be made by using corresponding version of Microstation and Visual Studio. When we work on the latest versions of both programs everything is correct, Unfortunately when I need to write an application for the previous…
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
Fetch document from server
Per Bodin - AEC AB
How do I control whether or not references (xrefs) also get downloaded when copying a dwg file or a dgn file, to a local folder? I’m trying to do an export to a completely independent folder. As far as I can tell there are three main paths to follow…
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
mdlKISolid_elementToBody2 doesn't work for elemDescr generated by mdlKISolid_bodyToElementD?
Fes
Hi all, I tried to generate MSElementDescrP by KIBODY * using mdlKISolid_bodyToElementD, and all works fine. However later when I tried using the generated MSElementDescrP to generate KIBODY, it doesn't work at all. Would anyone give any hint? Thanks…
Answered
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C++] Programming with Eclipse IDE, HowTo configure IDE
Thorsten B
Hello All, I read that preferred programming environment is Microsofts Visual Studio .NET and preferred language is C#. But I don't have experience in C# and I don't want to buy MS Visual Studio either. Is there a HowTo that describes how to setup a…
Answered
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
How to enable File Extension Filter and set the _AAOPENDOCSDLG2_PARAM::lpctstrFilter for the aaApi_DocumentSelectDlg?
ware my
Hi All, I want to enable the File Filter control on the DocumentSelectDlg, I try to turn on the mask AAOPENDLG2_MASK_FILEEXTFILTER, and add param.lpctstrFilter = L "dwg;*.dwg" ; but I can't see the filter box on the dialog, so how to enable the…
Answered
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
[V8i C++]How can I disable locate by Levels
HacTache
Hello everyone! I wanna develop a new tool to disable users from selecting elements belonging to a specified level.The final effect shows below.Whenever cursor hovers over those elements,it will show forbidden.It would be very helpful if you can show…
Answered
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
[V8 C++ API] Difference between getIsDisplayedFlag() and getIsHiddenFlag() for Levels?
Manu Agarwal
Also how does one define whether Element in a Level is visible or not? Does it depend on LevelOverride flags?
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C++] How to get Deleted Elements in V8?
Manu Agarwal
I have a V7 file with Deleted Elements. But those deleted elements cannot be identified insibe ModelTable->Graphics. How to fetch those elements?
Answered
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8 V7 C++] What is Cell Extension in V7? How to get it in V8?
Manu Agarwal
Hi, What is the concept of Cell Extension in V7 Files? Is it relevant for V8 too?
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
How to create basic "Hello World" application for testing ProjectWise API?
joshua sorkin
As I mentioned in http://communities.bentley.com/products/projectwise/projectwise_programming/f/342995/p/90780/259520.aspx#259520 , I'm trying to get started with a very basic application to test out the ProjectWise API. I'm going to try writing a DLL…
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
>