RE: Keyin for attaching a geographic coordinate system from a file
VerticalDatumName is a read only property. You will not be able to set/assign a new value through VBA. myGCS.VerticalDatumName
View ArticleRE: Keyin for attaching a geographic coordinate system from a file
I started here trying to find a keyin for selecting the desired vertical datum so I could avoid the need for a macro to accomplish the task. Over the years our survey crews have used two different...
View ArticleKeyin for attaching a geographic coordinate system from a file
According to the Help, the geographic coordinate system can be assigned from an existing file by using the keyin "GEOCOORDINATE SELECT FILE". Can the name of the file be specified in the keyin? When I...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
[quote user="Bruce Reeves SRNS"]std::vector<CaretCP> startMatchCaret;std::vector<CaretCR> startMatchCaret;[/quote]The 'C' in CaretCP and CaretCR means const. That is, read-only. By...
View Article[CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
I'm using FindText to locate expressions that represent a fraction. Once found, I'd like to save the match Caret locations in a std::vector<> for later use in editing the string, but I can't get...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
[quote user="Jon Summers"]Perhaps classes RunIterator and RunRange might help?[/quote]Hmm.. I don't believe I've seen those before. I'll take a look.This is what I've come up...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
Well. I've looked at RunRange, but can't figure our how to "get" one. for each (ITextPartIdPtr textPartId in textPartIds) { TextBlockPtr textBlock = textEditHandler->GetTextPart(eeh, *textPartId);...
View ArticleRE: [CONNECT C#] Long-running MDL App that can Import Models
Hi Neil,I was out of office for a few days, but now there is some time to return to the discussion ;-)[quote user="Neil McGuire"]In response to the user making a choice in that application, I need to...
View Article[CONNECT C#] Long-running MDL App that can Import Models
Sorry if this ends up being several questions. If I need to split it up into a couple of different threads, I can do that.I'm trying to create an MDL app that will run in the background while the user...
View Article[CONNECT C++] Inserting verses Appending text into a Text Block
I've got a TextBlock that I use FindText() to locate "fractions" using regular expressions. Once one is found, I save the matchStart and matchEnd Carets (in a std::vector). Once the FindText() loop is...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
[quote user="Bruce Reeves SRNS"]I've looked at RunRange, but can't figure our how to "get" one.[/quote]I agree. The text API is well obfuscated. We could do with more examples.RunRange...
View ArticleRE: Find Intersection
please use the microstation programming forum and identify your environment in detail. . And try to show the forums experts some samples data and code of what you have reached so far.read first
View ArticleRE: Find Intersection
Hi,I agree with Frank that MicroStation Programming forum is better place to discuss anything related to MicroStation VBA. Also to follow best practices is quite important, otherwise you decrease a...
View ArticleFind Intersection
Hi Every body.I have a problem with intersection function .unfortunatly the function do its job too late.what can i do with that? i have two array of line elements and wanna find intersections of them....
View Article[CONNECT C#] Problem Building Example with Viz Studio
When I build a CONNECT C# example (e.g. ManagedToolsExample) from the SDK prompt, all is well. If I run openSln.bat to open Viz Studio from the same SDK shell then I see several errors similar to...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
Thanks for the information. I was able to get this far:ITextEditP textEditHandler = eeh.GetITextEdit(); if (NULL != textEditHandler) { T_ITextPartIdPtrVector textPartIds;...
View ArticleRE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?
[quote user="Bruce Reeves SRNS"]TextBlockPtr textBlock = textEditHandler->GetTextPart(eeh, *textPartId); TextBlockCR textBlockCR = *textBlock; RunRange runRange(textBlockCR);[/quote]You've...
View Article