Browse By Tags

  • MicroStation CE SDK编译C++程序的兼容性?

    请问不同版本之间的MS CE SDK编译程序的兼容性如何,使用update 15编译的C++ MDL程序不能在MS CE Update17加载,请问是兼容性的问题吗?能否说明下update 15和update 17 SDK编译的C++程序各自兼容哪些版本的MS?
  • [CONNECT C++] Problem using TagElementHandler to create a tag element

    I have installed: MicroStation CONNECT Edition 10.15.0.74 MicroStation CONNECT Edition SDK 10.16.02.022 See my test code snippet below. I am getting an exception when calling TagElementHandler::Create(). Stepping in the debugger I find that tagData…
  • [CE U16 C++]Best way to connect a desktop gui application sending and receiving large amounts of data

    Hello, we are currently migrating an application wich was using the COM connection (which isn't possible anymore due to the problem described here: https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming…
  • [OBD SDK Connect Update 8] - modifying Structural Elements with Open Building SDK (STFC-Api)

    Hello, I need to change some Properties of a Steel Beam Element in Open Building Designer Update 8 using the C-Api "stfc-api".. Until now I've been able to read the "LinearMember" out of the EditElementHandle and to change some Properties in it…
  • DanWilliamsAtBentleyDotCom on GitHub

    The samples that were located at https://github.com/DanWilliamsAtBentleyDotCom have been copied to Product Communities > Developers and Programming > ProjectWise Programming > ProjectWise Programming - Media Gallery located at https://communities…
  • [CONNECT C++] What are the mdlTable_* and mdlTableEntry_* replacements?

    Hello, In V8i we used to use the mdlTable_* and mdlTableEntry_* functions, all from the table.fdf. In the CONNECT Edition (Update 14) these general functions are missing. In what way can we achieve the same functionality? mdlTable_addEntryDescriptorToChain…
  • Enable/Disable Ribbon Buttons using Named Expressions?

    Hi, I am working in MicroStation CE Update15. I need to enable /disable ribbon menu buttons based on a variable value. When i searched in community, many suggestions was can be done through "Named Expressions". Please provide me an simple…
  • Using aaApi_CopyDocument and aaApi_UpdateLinkDataColumnValue

    Hello, I'm working through an issue that involves copying a document and then updating the attributes on that document based on a form that a user has filled out. Below is how I'm using the copy function: bCreateDocSuccess = aaApi_CopyDocument(SourceProjectIDVector…
  • How to activate particular parametric set/variation?

    Microstation Connect Edition Update 14 - C++ Native - SDK In a particular model, I have added one variation/Parametric set using API - (IDgnComponentDefinitionModelHandler) -> CreateParameterSet(). I have also created associated variables with this…
  • mdlSelect_returnPositions API documentation seems incorrect in Microstation Connect SDK.

    mdlSelect_returnPositions API documentation says you have to Free returned memory. It causes crashes if I do. Do you still need to Free this memory in Microstation Connect SDK? See code sample below. void WatchMeCrash() { DgnModelRefP *fileNums; …
  • SDK API for obtaining and setting the "Locate Tolerance".

    A user can run a key-in command: "Set Locate" to query the current "Locate Tolerance" or key-in "Set Locate = 15" to set the "Locate Tolerance" How is this accomplished problematically using the SDK? Thank you.
  • [CONNECT C++] Error LNK2001 calling function from another cpp file

    Hi, I already asked a similar question and the problem was a missing library in the *.mke file. At the moment I have my "main" .cpp file and I want to call an Initialization function from another .cpp file. I did it in a similar way to the "exampleSolids…
  • [CONNECT C++] SmartFeature Error LNK1120 while trying to compile

    Hello everyone, I'm new as a MicroStation developer and I'm trying to code an AddIn in C++ that extract the Smart feature tree from a DGN file. The problem that I have at the moment is a compiler error using bmake. This error it appears only if I'm…
  • Credential Expiration

    Hey all, I'm hoping someone can point me in the right direction. I have a window service that uses the projectwise APi to login, connect to a datasource, preform various operations to get data from projectwise, including copying files out of the system…
  • [Connect | V8] [C# | C++ SDK] Finding Xattributes quickly and selectively, without the detour via "search element"?

    To work with Xattributes, you need an ElemendHandle whether you work in managed or native code. But what will be best practice to find some elements in such a case: DGN with some several thousand elements Some 3% elements with Xattributes …
  • [MSCE c++]请问有没有给元素增加link的例子?

    给元素增加file, uri, keyin类型的link,不是通过sendKeyin的方式,不知道通过mdl如何实现,麻烦老师了。
  • [MS CE C++] 如何实现类似修改模型比例,文字大小自动更新的功能

    放置文字的时候,打开注释比例开关,文字加入model之后,修改model的注释比例,文字能实时的更新大小。这样的功能如何应用到其他的元素呀?modelRef->GetModelInfoCP()->GetIsUseAnnotationScaleOn()函数获取model 注释比例的开关状态,在载入mdl程序之后也是没有不起作用的,只是在载入之前改变状态有作用,不知道为何?麻烦老师解答下。
  • [MS CE C++] R资源对话框的问题

    1、所有的子控件不能靠左对齐; 2、combox控件选择条目后,显示不正常; 3、子控件内容默认值的设置错误,BIW_rebarLeaderMDLglobals biw_rebarLeaderMDLglobals = {30, 2000, 8, 2}; 4、编译错误(程序可以运行); 2703.BIW_rebarLeaderMDL.rar
  • ProStructures API or SDK

    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…
  • getting started with the projectwise sdk using c++

    This is probably already well covered with a wiki or previous question post or something like that. If so, I apologise, please refer me to the URL and we can delete this duplication. C++ with Visual Studio Pro 2013 I start a new CLR Empty Project…
  • Loosing header file - Debug vs Release, InRoads SS2 c++

    We try to modify sample_app for PowerInRoads SS2, c++ apps. By changing configuration, we have this behavior: header file SCadFTR.h seems to be lost ? We can build "sample_app", but, just in debug mode. Any clues on what append ? Just InRoads…
  • Procedure to build first MicroStation DLL

    Hi, I am a new bie to MicroStation SDK. I am using MicroStation V8i(select series 2). MicroStation V8i(select series 1) SDK. I have created a dll using C++. May i can know the process to build .mke and .ma files to load in…
  • PW New Project Wizard

    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…
  • Projectwise Reference scan

    Is there a way to run the reference scan in code? basically i want to start the ref scan with the user having to enter any information