[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 ArticleRE: 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 ArticleActive 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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: 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 ArticleActive 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 ArticleRE: [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 ArticleRE: [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 ArticleRE: [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 ArticleRE: 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 ArticleRE: 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