• [Connect C++] How to get the color of an element?

    Mario Pîrău
    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
    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
    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
    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
    yl fan
    类似的有mdlKISolid_booleanDisJoint可以做剪切,但用起来有点麻烦,请问一下有没有修剪实体的函数直接可用啊???
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • ProStructures API or SDK

    Jon Summers
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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 V7 C++] What is Cell Extension in V7? How to get it in V8?

    Manu Agarwal
    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
  • [V8i C++] How to get Deleted Elements in V8?

    Manu Agarwal
    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 C++ API] Difference between getIsDisplayedFlag() and getIsHiddenFlag() for Levels?

    Manu Agarwal
    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
  • PWISE SDK XML Functions

    ame54
    ame54
    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…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
>