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

Image may be NSFW.
Clik here to view.

[CONNECT C++] Item Types -- Report Sort Order and Priority

Item TypeReports seem to have two qualifiers for sorting: order and priority.When we design a Report interactively we can set the sort order to be ascending or descending...Note that the dialog does...

View Article


[CONNECT C++,C#] Difference between ScanCriteria.SetDrawnElements() and...

Hi,both in native and managed API there are two methods available (using C# notation):ScanCriteria.SetDrawnElements()ScanCriteria.SetModelSections(DgnModelSections section)My question...

View Article


[CONNECT VBA] Inconsistent elements count results: VBA/Interop bug?

Hi,I spent last few days playing with different ways how to scan elements in NET (old Interop, using ModelElementsCollection and using ScanCriteria).When I compared speed using simple counting elements...

View Article

[CONNECT C++] DialogItemHookHandler

When writing a class based on DialogItemHookHandler. in _OnButton(), how does one retrieve the ID of the button. I used to do this:if ( dimP->dialogItemP->id == PUSHBUTTONID_Note ) ....Bruce

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] Item Types -- Report Definition fails

My code for AreaAnnotator creates an Item Type definition in the active DGN file if one doesn't already exist. That works fine, and I can add Item data to shape elements.The code also attempts to...

View Article


[CONNECT C++] Item Type Report -- DgnECHostRelationshipSpecification

My report successfully harvests information about my Item Type instance properties. Now I want to add related DGN element properties.My Item Type information is specified using...

View Article

[CONNECT C++] Relationship Manager

I just noticed the Relationship Manager in the MicroStationAPI documentation.  Is that a C++ development of the Dependency Manager, or something else?

View Article

[Connected C++] How to get the "ViewPort" of a DgnAttachmentP?

Hi Experts,In connection application, one can attach a 3d design to a 2d drawing model. If doing that, the elements from the 3d design looks like a planar copy.I guess there is a ViewPort set to the...

View Article


Load and display a DWG file using C++

Hi,i am a software developer and my task is to create a plugin for Microstationwhich will load a DWG file into the current project and display it.I tried this code so far:StatusInt ret =...

View Article


[CONNECT C++] DialogItemHookHandler

In my class derived from DialogItemHookHandler, I'm attempting to use _OnCreate() and _OnDestroy(), but they never seem to be called. I am also using _OnStateChanged() and that IS working. Is there...

View Article

[Connect C++] tessellation representation for Text

Hi, I am using connect c++ and can query out text information in a model.  however my viewer can't support render text native but only tessellation triangles/meshes. so I would like to know if there is...

View Article

[Connect C++]Geometry representation of Annotations

Hi, When using connect C++ api to query Annotations (Dimension, Label, Tag, Pattern, Detailing...) I can get various parameter definitions for each type element. in order to draw it in a viewer, I need...

View Article

I can get the ECInstance's Relationship instance

I use the following code to try print all the properties and relationship instance of a Element. but i always got the empty list of the relationship. anybody can help me?...

View Article


VBA to Generate Schematics from Excel

Please give me program VBA to Generate Schematics from ExcelAnd pls give me details how to install programOn my personal mail I'd "jha.fluor@gmail.com"RegardsMukesh+91 9891041004

View Article

[VBA PowerInroads SS4] Is there a way to determine what fonts are listed in...

Hi All,I have a user form that has a list box that I fill with the fonts available to Microstation.  I fill it with only the Microstation fonts since I thought my organization only uses those fonts....

View Article


Tool development

I am a Biginer to development i want to develop tools for V8 2004 edition without using vba can any one tell me is i can use visual studio to develeop for it and how can   i get SDK for V8

View Article

[CONNECT C++] Non-Persistent Named Group

Suppose that I create a Named Group in memory but never commit it to file. Are there any adverse consequences of making a transient Named Group?That is, I do this...NamedGroupPtr pGroup; // Probably a...

View Article


[CONNECT C++] Find Named Group

I want to find an existing Named Group in a DGN file. MDL function mdlNamedGroup_findByName (NamedGroupP, ...) looks like it does the job.However, I don't see a similar method in the NamedGroup class....

View Article

[CONNECT C#] Get a list of linestyles

Hi,I try to get a list of available linestyles. I'm pretty sure this code used to work.LsDgnFileMap lstyleMap = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnFile().GetLineStyleMap();foreach...

View Article

[CONNECT C++] Can we have a read-only ElementAgenda

The ElementAgenda provides a collection of elements.  It's useful to enumerate the collection to harvest information.  However, the enumeration methods (e.g. _OnElementModify()) pass a...

View Article
Browsing all 4331 articles
Browse latest View live


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