• [CONNECT] Tool Development

    Jon Summers
    Jon Summers
    dominic SEAH asked: "Will the SDK also cover the Tech Preview tools or will this be after they go to commercial release?" The CONNECT SDK provides a set of classes that derive from DgnPrimitiveTool . Several supplied classes inherit from that base class…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++/.NET] TextBlock Help

    Jon Summers
    Jon Summers
    Both the DgnPlatformNet and the MicroStationAPI help documents provide terse information about the TextBlock class. Concealed in the MicroStationAPI help document are some examples that show how to use the TextBlock API. However, they are cunningly…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [PW Explorer CONNECT] Can I copy out or check out a DGN document without its references?

    Jon Summers
    Jon Summers
    aaApi_CopyOutDocument() does what it says on the tin. However, for the task we are implementing there's a lot of baggage that goes with it. For example, the project has a lot of large DGN files and each file has several large attachments. The task is…
    • Answered
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [CONNECT C++ and .NET] UnitDefinition.GetName ()

    Jon Summers
    Jon Summers
    Both C++ and .NET provide method UnitDefinition.GetName (bool singular, bool alsoStandard) . What is the purpose of arg alsoStandard ?
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT] Distinguish between multiple Tables in a DGN model

    Jon Summers
    Jon Summers
    Named Tables I recently came across a situation where a MicroStation CONNECT user had placed several Tables in a DGN model. It occurs to me that there's no simple way to distinguish between tables. For example, let's suppose you place two Tables of…
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT .NET/C++] Queue command to .NET AddIn from Native App.

    Jon Summers
    Jon Summers
    I have a .NET AddIn that behaves as expected if I manually send a command. I have a native app. that wants to send that same command to the .NET AddIn . However, the .NET AddIn doesn't seem to see the command queued from the native app... const bool…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT] Detect Associative Region Element

    Jon Summers
    Jon Summers
    I'm attempting to measure the area of shapes in a DGN model. If my model scanner finds a shape or complex shape then the measurement is straightforward. Some things that look like shapes are associative regions . They seem to be a cell named AssociativeRegion…
    • Answered
    • over 3 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++, .NET, VBA] Can a Picklist have a Description?

    Jon Summers
    Jon Summers
    It would be useful, when managing Picklists, for a Picklist to have a description as well as a name. For example, a Picklist named "Door Furniture" might be described "Assign this Picklist to Item Type Door.Fittings ."
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT] Create Item Type Property Expression Programmatically

    Jon Summers
    Jon Summers
    MicroStation Update 12 introduced Item Type Property Expressions . What a great feature! I could already use Expressions in my apps. Is there an API for Expressions ? in .NET in C++
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Add a CreateCellInstance method to place a Cell from a Cell Library

    Jon Summers
    Jon Summers
    There is no way in .NET to place a new cell instance by reading a cell definition from a cell library. When creating a new cell instance, there is a lot of unseen work involved in copying a cell definition. In addition to the graphic elements, there…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming - Ideas
  • [CONNECT] Place Normal Cell Instance from Library

    Jon Summers
    Jon Summers
    The MicroStationAPI and the DgnPlatformNet have a CreateSharedCellElement() method (as of Update 10). It creates an instance, or placement, of a shared cell element in a DGN model. Why isn't there a C++ .NET similar method for creating instances of…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a C# API element?

    Nick Carter
    Nick Carter
    I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them? From searching through these community forums and browsing the C# functions/properties I…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: [V8i C++/C#] Native MDL and ProStructures

    Jon Summers
    Jon Summers
    Unknown said: The properties/attributes of each item we are interested in are ProStructures specific and can be accessed from the ProStructures .Net API If you write a C# AddIn for MicroStation V8 i then you are stuck with the VBA (COM) InterOp. That…
    • over 6 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
  • 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
  • I am having error on call of aaApi_Initialize(AAMODULE_ALL); function

    Atul
    Atul
    Hello, In my code when I call aaApi_Initialize(AAMODULE_ALL); method to initialize my custom console application it is giving me hooks related initialization errors. My code is working on one machine but it does not work on another machine because of…
    • Answered
    • 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
  • Dot net application not working in multiple microstation DGN

    Manoj_Pal
    Manoj_Pal
    Hi Everyone, I have written one application to create blocks in microstation. Its working fine if one .dgn file is open. If i will open multiple dgn file , its only working in the dgn which was opened first. I used visual studio 2010, C++.net…
    • 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
  • Copy document attributes to another document

    Furabio
    Furabio
    Hi, guys. Is there a simple way to copy all the environment attributes of a file to another? I could do that using some tricks with Databse Triggers, but i don't want to do it. What I want is to do it using Project Wise SDK. Thanks in advance!
    • 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
  • Can't call DLL function that makes ProjectWise API calls

    joshua sorkin
    joshua sorkin
    Using Visual C++ (in Visual Studio 2012), I've made a DLL with a function openDoc(int projID,int docID) that calls the ProjectWise API to open a document. I'm trying to call this function from either C# or VBA, but haven't succeeded with either one…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • C++ clients for a .NET DLL

    Jon Summers
    Jon Summers
    C++ client implementations The question "How do I use .NET with my MicroStation application?" crops up frequently on these Forums. In an earlier post I described how to implement a .NET COM server . A COM server is compatible with VBA, C++,…
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • is there a mdl api to publish the dgn file to i-model file?

    Gang
    Gang
    Hi there, Is there any api to publish a dgn file to the i-model file?either native or managed api? Thanks in advance. Gang
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum