• Saving a custom variable inside a DGN file, so I can read it later during the opening [Microstation V8I MDL API]

    Lubo B
    Lubo B
    Hello everyone! I´m currently developing a little mechanism to do checks on my DGN files, and I would like to save a variable value (for example bool) into a DGN file. I mean like, value of my variable will be persisted with the DGN file itself. So…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Custom move element tool is not fast as the built-in Microstation "Move extended" when hundreds of elements are manipulated[V8i MDL]

    Lubo B
    Lubo B
    Hello! It´s me again, with a question. I´m currently working with a Microstation V8i SS4 version, where I needed to add my own functionality to the move tool, so I´ve decided that I will implement myself it with MDL API, as VBA didn´t offer me the things…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • MSV8i C++/CLI出错不知道哪里问题

    hao huanghao
    hao huanghao
    • Answered
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • Possible Parameters for a user function for a certain Event in *_setFunction

    Ines Wieland
    Ines Wieland
    Hallo everyone, I am trying to write an MDL that recenters certain views when a datapoint or tentative Point is placed in a specified distance from the last one. For this task I want to use e.g. the mdlState_setFunction(STATE_DATAPOINT, centre2_processDataPoint…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [PWV8i C++]PW中给文件创建快捷方式的api

    Hua.Yang
    Hua.Yang
    各位老师: 【ProjectWise V8i】【二次开发】【C++】pw中是否有给文件创建快捷方式的api。 期待您的回答。
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [ABD v8i c++]请问如何用mdlTFLoadable一类函数加载数据组中 结构对象 下的那些对象型号?

    yl fan
    yl fan
    如题,比如我想构造一个类型为AS_钢梁(Steel Beam),型号为板梁的对象,可是用mdlTFLoadable_initFromCatalogItem无法做到, 它的第二个参数限制了可用的类型,是否还有其他可用的接口? mdlTFLoadalbe的使用方式,参考 https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/188040/abd…
    • Answered
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i C/C++] Detect GCS

    Jon Summers
    Jon Summers
    How do I detect whether the active DGN model has a Geographic Coordinate System (GCS) active?
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [ABD v8i c++]自己实现的一个门窗放置工具放置的门模型,无法继续使用ABD系统的功能,如改变开启扇,改变门把手,修改门窗等功能

    yl fan
    yl fan
    如题, 无法使用ABD系统的工具,请问怎么解决啊?
    • Answered
    • over 3 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [AECOsim V8i SS6 C++ TriForma] Adding a DataGroup[DG] to an existing element leads to Access Violation.

    Volker Hüfner
    Volker Hüfner
    Hi, There are still a lot of V8 installation in the world, so I would like to extend some Elements with DG in V8. There is a sample “DGExamples” of low quality (unused functions, magic texts, link issues, etc.) as documentation. After reading and understanding…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [AECOsim V8i SS6 C++] Datagroup: Choose Catalog and Item

    Volker Hüfner
    Volker Hüfner
    Hello, Like to choose a DataGroup Catalog Item from the Dataset, like in “Instance add” In the delivered samples are only cases to change an existing DataGroup instance, if you know already the name of the catalog and of the item. I could read…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [MDL C/C++ MicroStation V8i AECOsim SS6] MstnButtonEvent::GetPoint() from MstnPrimitiveTool has different behaviour.

    Volker Hüfner
    Volker Hüfner
    Hello everyone! I have developed a place function, deducted from MstnPrimitiveTool. Now a customer complains this function has an unexpected tolerance of a few millimeters from the snappoint. I had created this function under MicroStation V8i and this…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [msv8i c++] ABD的复合形体结构(TFCompoundForm)的构造过程如何实现?

    yl fan
    yl fan
    从dll中提取出了未公开的TFCompoundForm的一系列函数,但总是无法成功构造。 有谁使用过这个结构吗?
    • over 4 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • 【ABD C++】墙中心线怎么获得?

    Shuai Li
    Shuai Li
    老师您好,我想取得几面墙围成的闭合区域,但想不出什么办法,现在想通过墙中心线和墙厚度去计算,请问怎么获得墙中心线呢?或者有其他办法取得墙的闭合区域吗?
    • Answered
    • over 4 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i C++] Pick Multiple Elements

    Jon Summers
    Jon Summers
    class PickPointsTool : MstnElementSetTool I want to write a tool using the C++ MicroStationAPI supplied with the V8i SDK. The tool should accept multiple point elements (e.g. cells, zero-length lines). Once user has chosen, say, four or more point elements…
    • Answered
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i c++]如何获取savesetting中的保存信息?

    Ti Huang
    Ti Huang
    各位老师好: 我通过保存设置选项将当前model设置为默认model后,请问我该如何获取保存设置的设置值?
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i c++]发送队列命令时能否获取已完成状态?

    Ti Huang
    Ti Huang
    各位老师好: 我通过发送命令的形式来执行某些功能时,我能否通过某个函数获取到该段命令最后已执行完?
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [substation v8i c++]合并参考文件到主文件相关问题

    Ti Huang
    Ti Huang
    各位老师好: 我通过代码遍历所以参考文件并将参考文件中元素拷贝至主文件时,系统一直提示必须存在 正在初始化 应用程序(48900),才能修改此元素。但是我用系统自带的合并到主文件却又可以,请问这是什么原因? Fullscreen 6303.Tip.txt Download 正在初始化 应用程序(48660) 已经有意地限制了对此元素的更改。 这是为了维护元素设计的完整性。必须存在 正在初始化 应用程序(48660),才能修改此元素。 正在初始化 应用程序(48900…
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i c++]发布i-model 可以在后台发布么?

    Ti Huang
    Ti Huang
    各位老师好: 我现在想对多个文件批量发布i-model 请问我可以在后台进行i-model发布么?
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i c++]DesignFile中有多个Models,我通过SaveSetting保存了默认打开model,我如何通过程序获得这个保存的model?

    Ti Huang
    Ti Huang
    DesignFile中有多个Models,我通过SaveSetting保存了默认打开model,我如何通过程序获得这个保存的model?
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i c++]dgn图纸另存为pdf的相关问题

    Ti Huang
    Ti Huang
    各位老师好: 我在通过代码实现图纸另存为PDF时,出现了两个问题: 1、我键入了图片的颜色设置命令但打印出来的图纸仍然为彩色mdlInput_sendKeyin("print colormode monochrome", 0, INPUTQ_EOQ, NULL); 2、因为我的打印操作是通过键入MS 命令来实现的,但是我想在打印完成以后 继续执行下一操作,请问有什么好的解决方案么?谢谢
    • Answered
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i C++] Extract Data from XAttribute

    Jon Summers
    Jon Summers
    Customer is attempting to extract XAttribute data from a ProStructures DGN model. It doesn't seem to be EC Schema data, and he suspects that the data are XmlFragments . Is there a way to test whether an XAttribute contains XmlFragments , then extract…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [V8i c++] MDL开发中如何读取元素的属性

    jie liu
    jie liu
    各位老师们好, 我想获得图中的所有属性; 现在通过mdlElement_getProperties、mdlElement_getSymbology两个函数获得了部分属性,如何获得Geometry、Material、Extended、Row Data 等属性呢。
    • over 5 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [C++ V8i]如何确定组件ID?

    yl z
    yl z
    我使用了IElementGraphicsProcessor类,并从中得到了节点和材质的信息,现在有几个不明白的地方希望能请教一下 1.如何确定所得到的点和材质是哪个组件的?怎么得到它们对应的ID? 2.怎么得到点的UV信息?如果是无法直接得到UV信息下我应该得到哪些信息并用什么方式把它转化为正确的UV? 3.关于_ProcessParasolidBody(KIBodyCP pBody),这个KIBodyCP是什么结构?API中只能查到typedef struct KIBody const…
    • Answered
    • over 6 years ago
    • Bentley 中国优先社区
    • ◆ 二次开发(MicroStation编程, ProjectWise编程等)
  • [V8i C#] Does it exit the API for Pointools

    Stéphane Cervetti
    Stéphane Cervetti
    Hi all! I am a new programmer to MicroStation. I would like cup 'las' or 'pod' file by software. Is-it possible to do this by Point Cloud or by MicroStation ? If Yes, where can I download the document of the API ? Thank you a lot Best Regard
    • over 6 years ago
    • Developers and Programming
    • Developers and Programming Forum
  • [V8i MDL/C++] Open only write protected files as read only without prompt

    FlexiTon ADT
    FlexiTon ADT
    Hello, I have to open a write protected file as read only at Bentley Map SS4 startup without any prompt. I specify the file name and use the -R switch in command line to do this, and it works fine. However, any further open file operation (ISessionMgrR…
    • over 7 years ago
    • Developers and Programming
    • Developers and Programming Forum
>