Browse By Tags

  • C++ Move Element

    For the C++ API (V8i) how do you move an entire element, i.e. offset it. I was thinking this would be easy like in VBA where you .move then supply a point3d. I was surprised that I didn't find this in the searching I did. Thank you for your help, …
  • I've problem with POD-file attaching.

    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…
  • [V8i C++] Dependency && Model import

    Hi, I have created a dependency between Elements. I could move, copy, delete, etc. everything works as expected, even “CMD_FENCE_COPY_TOFILE”. But: If I try to import a DGN-model with my connected elements (both are in the same model), the RootStatus…
  • [V8i C++] Handling of Text Styles with zero text size

    Hi guys, It seems in AutoCAD, Text Styles with zero size prompt the user to enter the size when the text is placed. How is this handled in MicroStation? I have some AutoCAD derived models with zeroed text sizes in the Text Styles. When I programmatically…
  • [V8 V7 C++] What is Cell Extension in V7? How to get it in V8?

    Hi, What is the concept of Cell Extension in V7 Files? Is it relevant for V8 too?
  • Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    Thank you both Jon and Jan. I've got some expertise in programming C# applications and I have already some developments for MicroStation, so I would like to try invoking the MDL API from C#. Nevertheless if it were necessary, I could also try to…
  • [V8i C++] How to get Deleted Elements in V8?

    I have a V7 file with Deleted Elements. But those deleted elements cannot be identified insibe ModelTable->Graphics. How to fetch those elements?
  • PLEASE READ: MicroStation Programming forum best practices

    1. When including code in your post, please use the the SyntaxHighlighter, which is one of the tools in the "Advanced Reply Editor". 2. To let others know the MicroStation release and programming language being used without having to open the thread…
  • Accessing materials that are attached by level and/or color

    In Microstation materials can be attached directly to element or by level or by color. When material is attached by element I can access it via the API , however when it's attached by level or color I can't find where this information is stored...…
  • [V8i C/C++] DIMENSION_ELM get/set

    Hi, I have a new problem : (my file is DGN created with MS save as DWG with MS and next rewrite as DGN with MS) I'v got a dgn fil with some DIMENSION_ELM, when i try to get the DimStrings : mdlDim_getStrings(&dimStrings,&dimconf,&ElmDscrP->el…
  • How to get "Global LineStyleScale" by MDL

    Hi. I'm looking for the way to get the Global LineStyleScale of activefile, that users can get by Keyin "active linestylescale". I allready tried to following way : 1. tcb->lineStyle.scale. it is the parameter of active lineStyle. …
  • Change the design file from another thread (C++, V8i)

    I'm running a TCP server that communicates with another program in a second thread (boost). I'm trying to open a new design file from that thread by using the next command but it fails with an access violation. Opening files works from the main thread…
  • Reading cell library

    Hi I have a problem reading a cell library that contains cells built up by cells. And the problem only is for cells, no other element types. When I read the library my callback function from the scan critera gets these elements: From cell 1: shape…