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

RE: Simplify shape elements ...

Hi both, I agree Jan - there is a lot to define before starting to think about how to solve it ... The majority of the shapes to simplify will look like the one I posted in my first posting. But I am...

View Article


RE: Simplify shape elements ...

Hi,[quote user="quasi_modo"]Thanks a lot for your ideas so far![/quote]Some more ideas, but they belong to an ideal world and cannot be applied easily to MicroStation:Export shape level to PostGIS...

View Article


Image may be NSFW.
Clik here to view.

Simplify shape elements ...

I am trying to create a program (in VBA) that simplifies shape elements like shown below:My aim is that the shape should look like this:Does anyone have an idea how to get this done?Environment:...

View Article

RE: [CONNECT C++]How to use extended element (106) to create SOLID?

Please explain in more detail what you want to achieve.[quote user="qinbo wang"]How to use extended element (106) to create SOLID?[/quote]That doesn't make sense: you use the MicroStationAPI to write...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++]How to use extended element (106) to create SOLID?

How to use extended element (106) to create SOLID?For example SOLID:

View Article


Image may be NSFW.
Clik here to view.

[V8.i C++ ss4] PointCloudHandler::GetElementRefs issue

Hello,i'm using Microstation V8.i ss4 C++ sdk. I try to dynamically get point clouds attached using PointCloudHandler::GetElementRefs with a std::vector.void GetElements(){std::vector<ElementRef>...

View Article

Image may be NSFW.
Clik here to view.

RE: Simplify shape elements ...

[quote user="Jan Slegr"]Convex Hull mentioned by Jon works fine for the shape you posted, but will not work if the shape will be like "L"[/quote]You are correct...The blue convex hull is superimposed...

View Article

Is it possible to make View Attribute changes using OpenDesignFileforProgram?

I'm curious if it is possible to write a VBA program that uses the OpenDesignFileForProgram method to process a list of DGN files to quickly and easily make view attribute changes. For example, say I...

View Article


RE: Is it possible to make View Attribute changes using...

[quote user="Matt Ashby"]Is it possible to write a VBA program that uses the OpenDesignFileForProgram method to process a list of DGN files?[/quote]Why not use OpenDesignFile?  It's simpler, and...

View Article


RE: Is it possible to make View Attribute changes using...

Hi Jon, Thanks for the quick response and for confirming that the OpenDesignFileForProgram (ODFFP) method cannot be used to manipulate Levels, Views, etc. To answer your question, "Why not use...

View Article

RE: Is it possible to make View Attribute changes using...

If you use CreateObject("MicroStationDGN.ApplicationObjectConnector") instead of CreateObject("MicroStationDGN.Application"), you don't actually have MS become visible (at least that's my experience...

View Article

RE: Is it possible to make View Attribute changes using...

Hi Barry,Thank you for the suggestion. In the past I think I casually experimented with the ApplicationObjectConnector (AOC) method, but I was unsuccessful with having it manipulate the View object...

View Article

RE: [V8i VBA] Tagdefintionname checking with Select Case statement

Quick question,I'm trying to update tag values but unsure where I should call rewrite and redraw before saving the active DGN file. I've tried using it in multiple positions (before Wend in enumerator...

View Article


RE: Is it possible to make View Attribute changes using...

Within an Excel file, I wrote the following VBA code and performed a test:Case A ---- o.Visible = True Case B ---- o.Visible = FalseFor Case A, the time was 8.1 seconds, for Case B the time was 7.5...

View Article

RE: Is it possible to make View Attribute changes using...

[quote user="Matt Ashby"]I was hoping to maximize speed[/quote]Then use a native-code DLL written using C++.Microsoft designed VBA to be a Rapid Application Development (RAD) tool, with the emphasis on...

View Article


RE: [V8i VBA] Tagdefintionname checking with Select Case statement

[quote user="Barry Lothian"]I'm trying to update tag values but unsure where I should call redraw...[/quote]You should not need to call Redraw at all.  The versions of MicroStation that use DirectX...

View Article

RE: [V8i VBA] Tagdefintionname checking with Select Case statement

[quote user="Jon Summers"]You should not need to call Redraw at all.  The versions of MicroStation that use DirectX graphics do redraws automatically.[/quote]I guess the help file is somewhat out of...

View Article


RE: [V8i VBA] Tagdefintionname checking with Select Case statement

[quote user="Barry Lothian"]In my case I am modifying tags within a cell[/quote]You're not: you're modifying tags attached to a cell.  The tags are separate elements: they are dependent on the host...

View Article

[V8i VBA] Tagdefintionname checking with Select Case statement

Afternoon all,I'm revisiting an old tags extraction macro within an XLS file and rewriting it to improve its performance as when I last used it was a bit maverick in its results.There are plenty of...

View Article

RE: [V8i VBA] Tagdefintionname checking with Select Case statement

Yes you are right, I forgot the tags are not part of the cell once placed in a drawing. I've had no luck at all coming to a solution writing tags back to the DGN via the variant array so this morning I...

View Article
Browsing all 7260 articles
Browse latest View live


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