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…
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…
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…
[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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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
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…
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…
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…
Regarding document management functionality
Are there any methods to get data in XML format? Ex return
1) Project list with folder structure related to it
2) Environment list in a project
3) Document list in a project/Folder
4) Document…