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

[CONNECT C++] ISprite::CreateFromIconResource()

I don't see ISprite::CreateFromIconResource() in CONNECT. Is there a replacement? It "does" seem to be part of DgnPlatform.lib. It seems that CreateFromIconResource() *was* a Static Public Member...

View Article


RE: Unassociated Tags (VBA)

Hi, by "unassociated tags" you mean tags that are not attached to any element and exists (and may are displayed) in a design file? With regards, Jan

View Article


RE: Unassociated Tags (VBA)

Yes, they are displayed as "dashed", I know I can turn off this display setting under Preferences/Operation, but eventually the drawings will be sent to someone else and I would prefer to fix the...

View Article

RE: Unassociated Tags (VBA)

[quote user="e.g."]How can I differentiate between unassociated and associated tags?[/quote]When a tag is 'attached' to a host element in MicroStation, the tag is assigned the Element ID of its host....

View Article

RE: Unassociated Tags (VBA)

Hi Jon, Thank you very much, this works for me, I am pretty happy now. Thanks, e.g.

View Article


Unassociated Tags (VBA)

Hi,I have about 200 drawings to fix (V8i SS3), those drawings were converted from dwg and they contain many unassociated tags; but I have also some cells with "good" tags that should stay untouched. I...

View Article

RE: [V8i C++] How to rename reference files via MDL/Api

Hi Bruce,mdlRefFile_reattach should be the MDL function you are looking for.From the MDL description:StatusInt      mdlRefFile_reattach(DgnModelRefP      modelRef ,char*      outName ,char const*...

View Article

[V8i C++] How to rename reference files via MDL/Api

In VBA, I can use this to "rename" a reference file:For Each AttachedFile In ActiveModelReference.Attachments NewAttachmentName = "NEWMAPS:" & AttachedFile.AttachName...

View Article


RE: Measure of distances in VBA

[quote user="Xavi García Maranges"]When I have two elements connected between them vertex to vertex or vertex to any point of the another line , the distance must be = 0 [/quote]MicroStation 7...

View Article


RE: Measure of distances in VBA

Thanks Joan , always is so apreciated your help ... Really I have wrote my own algorithm aplying equation of a line projecting the point to a perpendicular distance to the line to calculate the...

View Article

RE: Measure of distances in VBA

Hi Xavi García,Jon wrote the most important facts I think, so just a few more comments:To understand what floating point number are, how they are implemented and what risks and threats exist there is...

View Article

RE: [V8 MDL] cells & associative dimensions

any new suggestion? Thanks!

View Article

Image may be NSFW.
Clik here to view.

[V8 MDL] cells & associative dimensions

Hi everyone,I have a problem with cells containing associative dimensions.-          Using the user interface to place the cell in a DGN, the dimension is still associative to the lines.-...

View Article


RE: Measure of distances in VBA

OK Jon , I understand for what you say that a distance of 0.1mm must be considered 0 for microstation ??? I supose that a value of a exponent -10 or -12 is considered like a 0 , but a -4 .... Like I...

View Article

RE: [Connect C++] mdlView_getViewRectangle() returns invalid Y coordinates

Hi Christian,I could test this now and can confirm there is an issue with mdlView_getViewRectangle and the Ribbon menu.From the test results the y- value of the upper left corner (origin) is the same...

View Article


RE: Measure of distances in VBA

[quote user="Xavi García Maranges"] that a distance of 0.1mm must be considered 0 for microstation ???[/quote]Not for MicroStation. MicroStation is not involved in such evaluation! MicroStation can be...

View Article

RE: [Connect C++] mdlView_getViewRectangle() returns invalid Y coordinates

Defect # 570387 filed to address this issue

View Article


RE: [Connect C++] mdlView_getViewRectangle() returns invalid Y coordinates

Thank you for the feedback Artur. while you are looking at that function you can also look at mdlWindow_capture() which compensates for the toolbar in a wrong way. The captured image is cut in the top...

View Article

RE: Measure of distances in VBA

[quote user="Xavi García Maranges"]I have written my own algorithm apllying equation of a line projecting the point to a perpendicular distance to the line [/quote]Before you rush into your own...

View Article

RE: Measure of distances in VBA

It's not just MicroStation. I do development for AutoCAD Civil 3D as well as MicroStation and have the same kinds of issues with floating point numbers in both. It doesn't matter if it's a calculation...

View Article
Browsing all 7260 articles
Browse latest View live


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