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

[C++] Can we test publishStructures() for completeness?

The MicroStation publishStructures() rsctype utility has been part of the native-code development process for many years and continues in CONNECT.  It's documented in MicroStationAPI help.My issue with...

View Article


Image may be NSFW.
Clik here to view.

RE: [CONNECT C++] ITextEditP::GetTextPartIds()

View Article


RE: Active model coordinates of extended view

[quote user="blumax57"]There is a way in VBA to get the  coordinates of view.extents relative to model[/quote]View.Origin is the view's lower-left corner.  View.Extents is the size of the view.  Vector...

View Article

Active model coordinates of extended view

 https://translate.google.itgood morningThere is a way in VBA to get the  coordinates of view.extents relative to modelthank you

View Article

RE: [CONNECT C++] ITextEditP::GetTextPartIds()

OK. That "helps". I've noticed that if I use ITextEdit::GetTextPartIds() and modify part(s) of the TextBlock and then perform ITextEdit::GetTextPartIds() again (for the purposes of additional...

View Article


RE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from...

Jon,Thanks for confirming my thoughts regarding Element.MdlElementRef and Element.ModelReference.MdlModelRefP.That was only the first part of my questions however, both of these functions return ints...

View Article

RE: [CONNECT C++] ITextEditP::GetTextPartIds()

Assuming you are not reusing the same vector of text part ids without clearing it before second call to GetTextPartIds(), post code.

View Article

RE: [CONNECT C++] ITextEditP::GetTextPartIds()

[quote user="Paul Connelly"]without clearing it before second call to GetTextPartIds()[/quote]Oops...Thanks for the 2x4 between the eyes !Bruce

View Article


RE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from...

[quote user="Nick Carter"]Both of these functions return ints[/quote]They return VBA Long, which is the only way in which VBA 6 can represent a 32-bit C pointer.If you're trying to write C# to get at...

View Article


[CONNECT C++] How to move Caret to End of Run?

Given a TextNode that has as the first Paragraph:ABYX~ \ ab<cr> I want to set a Caret to the End of a Run so I can do this and get the "plain text":wprintf(L"[%s]\n",...

View Article

RE: [CONNECT C++] How to move Caret to End of Run?

[quote user="Bruce Reeves SRNS"]Given a TextNode that has as the first Paragraph:ABYX~ \ ab<cr>The "length" is reported as 11[/quote][quote user="Bruce Reeves SRNS"]I get "ABYZ~ \ ab". (The...

View Article

RE: [CONNECT C++] How to move Caret to End of Run?

[quote user="Jon Summers"]Bruce Reeves SRNSI get "ABYZ~ \ ab". (The length is reported as 9) The ending "c' is left off[/quote] My typo. The returned string is "ABYZ~ \ a", the "b" is left off.

View Article

RE: Active model coordinates of extended view

[quote user="blumax57"]There is a way in VBA[/quote]Please post your question to the Programming Forum.

View Article


Active model coordinates of extended view

https://translate.google.itgood morningThere is a way in VBA to get the  coordinates of view.extents relative to modelthank you

View Article

RE: [CONNECT C++] How to move Caret to End of Run?

What if you obtain your carets this way...CaretPtr startCaret = textBlock.CreateStartCaret(); CaretPtr endCaret = textBlock.CreateEndCaret();

View Article


[CONNECT C++] IBrowserHelpClient

I found the BrowserHelpClient while browsing MicroStationAPI help.  Can I use that class to open my own URL?

View Article

RE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from...

Jon, Apologies for the delay I was not in the office on Friday, elliptical doesn't quite cover it, it is more akin a spiral or a helix. If it was as simple as choosing one API over the other I am not...

View Article


RE: [CONNECT C++] How to move Caret to End of Run?

For find the Start and End carets of a TextBlock, that will work. However, I am trying to do that for a Run. Using:RunCP currentRun = runCaret->GetCurrentRunCP();  will get the Start of the Run, but...

View Article

RE: Keyin for attaching a geographic coordinate system from a file

Specifying the GCS name does not allow me the option to select the Vertical Datum. By selecting the GCS from a file, we can pre-define the properties which cannot be set from a key-in.

View Article

RE: Keyin for attaching a geographic coordinate system from a file

[quote user="Bill C"]Specifying the GCS name does not allow me the option to select the Vertical Datum. By selecting the GCS from a file, we can pre-define the properties which cannot be set from a...

View Article
Browsing all 7260 articles
Browse latest View live


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