• [connect update 15 c++ ] How to solve the error of duplicate rsc?

    amender carapace
    amender carapace
    MicroStation Resource Librarian 03.20.02 ### Error: Duplicate: File=(C:\Users\ADMINI~1\AppData\Local\Temp\Bentley\MicroStationSDK\objects\HelloWorld.rsc), TypeId=('str#') RscId=(1) ### Error: Duplicate: File=(C:\Users\ADMINI~1\AppData\Local\Temp\Bentley…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Connect Update 15 c++] Is there a way to draw a uneditable shape except through your UI dialog box?

    amender carapace
    amender carapace
    I want to draw a object and make it unable to be altered by other tools expect through the UI I provided. For example draw a box with a trailing line segement fixed at certain angle to the rectangle. I do not want anything including the size of the…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT UPDATE13 C++] Toggle Point Cloud Snapping

    Tristan Brown
    Tristan Brown
    OS: Windows 10 Application: MicroStation Connect Edition update 13 - v10.13.01.01 Language of the Application: C++ Goal: Set the snapping of created point cloud entities to off by default Below is the point cloud options of imported point clouds…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to implement SetFileSaveFunction callback function?

    Rajesh Varatharajan
    Rajesh Varatharajan
    I develop add-on for MicroStation using CONNECT Edition application with C++. Using Microstation10.15 update SDK I would like to get Save event when save triggered. extern "C" DLLEXPORT void MdlMain(int argc, WCharCP argv[]) { SystemCallback::SetFileSaveFunction…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [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
  • About control the progress bar which is already existed is the Microstation

    liu li
    liu li
    Hi everyone: Does anybody know how to get the api of the progress bar ,so that i can directly use it which is already existed in the MicroStation, shown in the following figure And i have a demand that will take a lot time to process, so what can…
    • 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
  • Exception being thrown at assigning string.

    Varun B
    Varun B
    [08.11.09.292 V8i SS3] [C++ Visual studio 2015] Hi all, I am reading v8i dgn file through Microstation SDK . While i am collecting the XML fragment information of element , and parsing the values , i'm greeted with an exception. The exception…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to add a handler to an ElementHandle

    建城 杨
    建城 杨
    In V8i, I can use IElementHandlerManager to register a handler and add the handler to an element, but in Connect edition, the IElementHandlerManager was disappeared. So, if I wrote a class derived from ITransactionHandler, how can I use it?
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • I've problem with POD-file attaching.

    Andrew G
    Andrew G
    I use MS V8i and SDK mssdk081109357en. I make build by instruction . I have some problem with example from SDK, which name is "PointClouds". I changed the code for debuging in next way: ... case DITEM_MESSAGE_QUEUECOMMAND: { Bentley::Ustn::Element…
    • over 7 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • ProjectWise tool to rename file(s) using environment attributes

    Meiel Mendoza
    Meiel Mendoza
    Hello, I am wondering if I could get some help creating a tool to rename drawing file(s) (DGN or DWG) from their original file name to the following environment title block attributes or symbols: <Environment.SUBSTATION_NUMBER>_<Environment.DWG_N0>…
    • 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
  • [V8i C C++] API JT Export

    sebgoubier
    sebgoubier
    Hi, I would like to automate the export of DGN file to the JT format. Is there an MDL or C API that I could use. May be a key in command ? I know there exists a jtexport command but it cannot be used to launch the conversion. Any help would be appreciated…
    • 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
  • RE: Dot net application not working in multiple microstation DGN

    Manoj_Pal
    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
  • 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
  • How to attaché(reference) an txt file to another txt or xml file?

    ware my
    ware my
    Hi All, I have two files(txt or xml or some other format) A and B, I want to attach A to B, which means B will reference A, and when B is export, A will be copied out to the same folder. But if A is export, B will NOT be copied out. Is it possible to…
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • connect to a datasource and enumerate its files in a console app

    Lloyd Dupont
    Lloyd Dupont
    Hi, I'm new to Bentley and Project Wise. For some integration work (with other products) I need to access a Project Wise datasource and enumerate all it files of a certain types. Here is what I got so far: int main(array<System::String…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise 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
  • How to create basic "Hello World" application for testing ProjectWise API?

    joshua sorkin
    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 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Compiling with the API in G++

    Thomas Michael Wallace
    Thomas Michael Wallace
    Hi, I'm currently starting to look into using the ProjectWise SDK to automate some of the more repetitive tasks we do. Having had a look around the forums I understand that driving ProjectWise explorer from C++ is much better/easier than attempting…
    • over 11 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • PW New Project Wizard

    Jemaine Shezi
    Jemaine Shezi
    Hi, I've recently been messing around with the customprojwizard provided as part of the samples in the PW SDK. I noticed that the wizard in the sample does not extend/expose the security interface as the standard wizard does. I've created the…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
>