[ABD SS5 VBA] Scan Reference and Copy Graphical Elements Failing
Hello all,I have scoured the forums and internet for a solution, and think I found what I'm looking for, but my code is not working. I wonder if AECOsim Building Designer is the culprit, although I...
View ArticleMDL APPLICATION CELLSEL LOAD
Every time I want my tool bar buttons to work load various .CFS files I have to manually run Utilities,> MDL Applications> select CELLSEL and press LOADI made a button to do this on the tool bar,...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
Hi Richard,please read and follow:MicroStation Programming forum best practicesCommunities guidelinesThere are several issues in your post that makes it not easy to answer: Important information are...
View ArticleRE: [V8i C++] Using Standard PUSHBUTTON_OK in Modal DialogBox
[quote user="Bruce Reeves SRNS"]I'd like to (somehow) attach a hook function to these so when they are pressed, I can do some checking[/quote]Try DIALOGATTR_ALWAYSSETSTATE. IIRC that dialog attribute...
View ArticleRE: [CONNECT C++] Programatically build text string containing the...
My question is more general than JUST the plus/minus symbol. How would one create a text string via code that contains characters other than digits, letters, and fractions (e.g. the "cents" symbol,...
View ArticleRE: [V8i C++] Using Standard PUSHBUTTON_OK in Modal DialogBox
That sounds promising, but the real question is "is it possible to set a dialog item hook callback function if using one of MicroStation's built-in dialog items, like the PUSHBUTTONID_OK?
View ArticleRE: [CONNECT C++] Programatically build text string containing the...
Hi Bruce,I was testing the behavior using these lines of code: DgnModelP model = ISessionMgr::GetActiveDgnModelP(); TextBlockPropertiesPtr tbProps = TextBlockProperties::Create(*model);...
View ArticleRE: [CONNECT C++] Programatically build text string containing the...
Thanks for the code sample. I'm approaching it slightly different: I'm attempting to EDIT a string and then change the font from a RSC font to a TrueType font. I was (am) "extracting" the string in to...
View ArticleRE: [ABD SS5 VBA] Scan Reference and Copy Graphical Elements Failing
[quote user="Barry Lothian"]Not sure why as you should need to comment that out as it defaults to true anyway.Does your code also include the line:?1CommandState.UpdateElementDependencyState[/quote]My...
View ArticleRE: [ABD SS5 VBA] Scan Reference and Copy Graphical Elements Failing
[quote user="Brien Bastings"]Amador OntiverosThanks for your reply Barry. I tried that and it didn't change anything. I send the mvba file to a co-worker, and it looks like it works on his machine,...
View ArticleRE: [V8i C++] Using Standard PUSHBUTTON_OK in Modal DialogBox
[quote user="Bruce Reeves SRNS"]Is it possible to set a dialog item hook callback function if using one of MicroStation's built-in dialog items, like the PUSHBUTTONID_OK?[/quote]I've never tried it,...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
Using std::regex, my expression passes the "test", however, when I then use that same expression in FindText(), it finds nothing. When I dump out the TextBlock "string", I see that certain "characters"...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
[quote user="Bruce Reeves SRNS"]The "copyright" character, when extracted to string (textBlock->ToString() ) actually prints out as "19/64"[/quote]What do you mean by 'actually prints out'? Where...
View Article[CONNECT C++] Use TextBlock::FindText() to locate "special" characters in a...
I'm using TextBlock::FindText() to locate text in strings. I can find letters and numbers just fine. I'm attempting to use Regular Expressions to find "Special" characters (like the "Copyright...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
Sorry Jan, I was copying the microstation format and the caps came from what I saw. Not sure how to make the yello text memtioned either. really just learning some of this stuff. All my cells and .CSF...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
[quote user="Richard Phillips"]All my cells and .CSF files are in the same project directory ... I made them in the C:\ProgramData\Bentley\MicroStation V8i...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
[quote user="Jon Summers"]What do you mean by 'actually prints out'?[/quote]Using TextBlock::ToString(), if the text contains things like the "copyright" symbol or "registerd" symbol, when that WString...
View ArticleRE: Tag Extraction to Excel
I've tried this code & it works well. The problem I have is there are two tagset in the file that I want to export from. With the above code it is exporting both tagsets.is there anyway to specify...
View ArticleRE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in...
Here's a fairly minimal VBA macro that shows a copyright © in the Message Center...Sub TestChars() Dim copyright As String copyright = Chr(169) Dim msg As String msg = "Copyright " & copyright...
View ArticleRE: Tag Extraction to Excel
[quote user="keith_uk"]With the above code it is exporting both tagsets[/quote]You'll have to be clearer on the code that you're using. I see this in the orginal posting, which restricts the tag...
View Article