RE: [CONNECT C++]dialog error message
[quote user="Zhen Li"]mdlDialog_publishComplexVariable(setP, "importSettingsInfo", "gImportSettingsInfo", &gImportSettingsInfo);[/quote]Do you have a type whose tag is importSettingsInfo?...
View ArticleRE: [V8i VBA or .NET Addin] Linestyle definition location
[quote user="Mike Robertson"]What type would StringListP in vba[/quote]An MDL StringList is a dynamically-allocated structure. Here's the VBA declaration from the V8i documentation...Declare Function...
View Article[V8i VBA or .NET Addin] Linestyle definition location
Is there a way in either VBA or .NET addin to determine if the definition of a linestyle resides in a dgnlib or RSC file?
View ArticleRE: [VBA] Running microstation+script from .bat fails when autorun on server?...
[quote user="Torben"]Is it possible (sorry for this being a server question!!) to have Windows run a program "on its own", but just like when a user is logged in?[/quote]That is a Windows question, and...
View Article[VBA] Running microstation+script from .bat fails when autorun on server? Any...
Hi all,I have a microstation vba that scans files and reads/outputs to Excel. It works wonders around here, but only when run directly by a user, either on a desktop or on the server.The code does not...
View ArticleRE: [CONNECT C++] Add a command icon under "Utilities"
Hi Zhen,[quote user="Zhen Li"]My V8i MDL created a menu item under "application".[/quote]From V8i, a preferred method to customize MicroStation interface is to use dgnlib. Even the most of MicroStation...
View ArticleRE: [CONNECT C++] Add a command icon under "Utilities"
One more note: Riboon is implemented using Telerik WPF control (the whole CONNECT Edition GUI is WPF based). Consequently the riboon can be accessed from managed code, but I guess API is not described...
View Article[CONNECT C++] Add a command icon under "Utilities"
Hi,My V8i MDL created a menu item under "application". But Connect has no "Application" menu. I think I can add command icon under "Utilities -Â Utilities". How can I do it? Which example does similar...
View ArticleRE: Is there a way to sequentially number a selection set?
Hi Nick,[quote user="Nick D"]I was wondering if there is a macro / vba out there[/quote]Your questions seems to be quite specific, so I guess there will be nothing similar available. But you never...
View Article[CONNECT C++] Add a new "data type" under "paste special"
Hi,I need to add a new "data type" under "paste special". When I select a string of text from other program, the "paste special" will add "Text" data type. I need to do similar function. I need to add...
View ArticleRE: Is there a way to sequentially number a selection set?
Jan, thanks for responding! I am looking for something that would place regular text as the same coordinate as the pile (which is in a reference). If any of the piles change, I would just delete all...
View ArticleRE: Is there a way to sequentially number a selection set?
[quote user="Nick D"]I am looking for something that would place regular text as the same coordinate as the pile (which is in a reference)[/quote]Another detail revealed! If you're intending to write...
View ArticleIs there a way to sequentially number a selection set?
Hello all - I was wondering if there is a macro / vba out there that could do the following task:On our Pile Location Plans, we number each pile from 1 to how ever many there are (sometimes up to 300...
View ArticleRE: MicroStation VBA "s_ChangeTextInfo" error
Hi April,You can actually start recording a VBA macro, then start the Find/replace text tool and set all the settings as required in the Find/Replace Text dialog, click the "Find"/"Replace All" button...
View ArticleRE: MicroStation VBA "s_ChangeTextInfo" error
Thanks for taking the time to get back to me. I also recorded a VBA macro using the find/replace text tool and I got similar results to you: Sub Macro1() Dim startPoint As Point3d Dim point As Point3d,...
View ArticleRE: MicroStation VBA "s_ChangeTextInfo" error
Without seeing the full code, I can only guess one way to update your code is to change:MyMicroStationDGN.SetCExpressionValue.....to the correspondingMyMicroStationDGN.CadInputQueue.SendKeyin...for...
View ArticleMicroStation VBA "s_ChangeTextInfo" error
I am running MicroStation V8i SS3 (Version. 08.11.09.459)We are trying to run a search and replace function on multiple drawings using the following code within an excel file (but we keep getting...
View ArticleRE: Is there a way to sequentially number a selection set?
Hi Nick,[quote user="Nick D"]place regular text as the same coordinate as the pile[/quote]It makes the situation substantially simpler! :-)[quote user="Nick D"]which is in a reference[/quote]As Jon...
View ArticleRE: Is there a way to sequentially number a selection set?
Hi Nick, Further to what Jan and Jon have posted. Would sequentially selecting each pile, in the order as they would be numberred, be some thing feasible? Probably not when you have 100s to select....
View ArticleRE: Select all element on a level
Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...
View Article