Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

[CONNECT C++] How to programatically drop a parametric cell from native C++

The Drop Elementtool will drop a parametric cell into it's sub-elements if I check the Application Elementsoption.  Is there a native C++ API that will let me do this from code?

View Article


[CONNECT C++] How to programatically retrieve a list of 2d constraints...

I am using:MicroStation CONNECT Edition10.14.0.109MicroStation CONNECT Edition SDK10.14.00.111For a selected element I am looking for a native C++ API that will return a list of 2d constraints that...

View Article


[CONNECT] Transient DGN Elements

I believe that transient elements are located in a transient element cache or model?How can I read transient elements from that location?To be clear, I am not creating transient elements.  I want to...

View Article

[CONNECT .NET] MdlApplicationClass

The MicroStationAPI provides mdlSystem_getMdlAppClass/mdlSystem_setMdlAppClass that inform how the app was loaded (USER, DGNAPP, etc) in one of the MdlApplicationClass enum values.I can't see a .NET...

View Article

Image may be NSFW.
Clik here to view.

Why the macro execution speed depends on the zoom in the drawing?

Hello, whenever I have a macro with a loop that scans the fence, when the zoom in the drawing is large, the program works slowly and when the zoom is small, the program works quickly?same task:time for...

View Article


[CONNECT .NET] Dpoint3d from Latitude and Longitude.

Hello,I am writing an Addin application in C# for Microstation CONNECT Edition and I want to ask if in those .NET libraries is any way to convert earth location (lat/long) to MS Dpoint3dt? If yes could...

View Article

Microstation VBA Help Location

I've seen a number of posts where people make reference to the Microstation VBA Help guide but am having a hard time locating it. There's almost nothing related to VBA in the Help directory within...

View Article

Record VBA in Connect

For fiddlers, like me, the old record function to vb seemed to store a lot more information that the new record macro function does. Is there any way to record  to vba like we did in V8i?

View Article


[CONNECT] Check if Design History is enabled in VBA?

Hi all,Does anyone know of a method in VBA to detect if the active design file has Design History enabled or not?The mdl wrapper method i found in old posts crashes in CE and the Property Handler...

View Article


mdlMlineStyle_traverse

HiI have used the function mdlMlineStyle_traverse from VBA to get an array with all existing multilinestyles in a drawing, this works fine with Microstation V8iNow I woild like same funtion in Connect...

View Article

[MicroStation 10.13 C#] Rotate a text block

I really need to understand rotation matrices better, I could  find my way around the COM methods of rotation but am struggling with the newer non-COM methods.I'm trying to rotate a textblock 90...

View Article

[VBA-CE U14] Get active Windows Printer name

Hi,I am trying to get some information about the active printer.  This routine give me the Print Driver Name, the paper name, and the orientation.  What I am really missing is the Windows Printer...

View Article

[CONNECT NET] Create TextNode

Hello everyone,does anyone know how to create a TextNode in CONNECT C # .NET?many thanks and best regards,

View Article


[CONNECT C++] DgnElementSetTool::_DoLocate

MicroStationAPI tool class DgnElementSetTool provides method _DoLocate...HitPathCP _DoLocate (DgnButtonEventCR ev, bool newSearch, ComponentMode complexComponent) The last argument complexComponent is...

View Article

[CONNECT .NET] DgnElementSetTool.DoLocate

DgnElementSetTool::DoLocate Method has three arguments. The third argument is int complexComponent.complexComponent is not well-documented.  Does it take the same values as ComponentMode found in the...

View Article


Image may be NSFW.
Clik here to view.

How to make this object?

Hi guys!I started my journey with MicroStation just a few hours ago! I wanted to try to model my first object. It would be this one above. Do you have ant tips for me how to place the little cylinders...

View Article

Copy Parallel using mdlElmdscr_copyParallel in VBA

I am trying to write a vba macro to create two elements copied parallel from a centreline at given distances between on each side. I am using MicroStation CE update 14 and trying to use the...

View Article


Microstation Connect OpenDesignFile from ProjectWise or other directories...

Hello,I'm new to Connect (familiar with V8i mostly) and it's API.I was wondering if there are any new features in the API or capability to allow us to open design files from PW using VBA code? Or, at...

View Article

[CONNECT .NET] Create TextTable from Seed part 2

Despite advice received elsewhere, I have been unsuccessful in my attempt to clonePaul Connelly wrote: Given your stated goal, CloneAsSeed() is what you want.I'm struggling.  Here's a C# method that is...

View Article

Image may be NSFW.
Clik here to view.

Help modify a vba macro

 Hello,I am not a programmer and would like if someone can modify a vba macro that I would like to use in my work.The existing GeoGrid project is MicroStation VBA, and includes all the source code.Here...

View Article
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>