RE: [v8i c#.net] How to connect a specific instance of ustation.exe?
[quote user="Jon Summers"]The short answer is: you can't.[/quote]Well ... I have not tested it, but what I remember from some discussions I found on Internet, there are some workarounds possible. But I...
View ArticleRE: [Connect C++] Using -s command line parameter to load an application fails
I just wanted to mention that I got a better answer from Jan in (communities.bentley.com/.../119135): (Sorry for adding a second thread) Just add -wsMS_DGNAPPS=MyAppName to the command line in the...
View Article[Connect C++] Using -s command line parameter to load an application fails
To load our application in V8i we use the command line option -s"script file path". The script file just contains a command that is defined in our application.When I try the same thing in Connect...
View ArticleRE: [v8i c#.net] How to connect a specific instance of ustation.exe?
Understood. I have some workarounds in place to enforce that only 1 instance of ustation.exe is running at time of connection. Just curious if there was an easy way to differentiate. I completely...
View Article[v8i c#.net] How to connect a specific instance of ustation.exe?
I am connecting to an instance of Microstation and processing the design file as below, but I don't understand how I can connect to a specific instance of Microstation if multiple instances of...
View ArticleRE: [CONNECT C#] IViewMonitor
[quote user="Jan Slegr"]It's a question how your C++/CLI code is structured. What is usually recommended (and my experience with it is very good) is to have always two classes, which help to split both...
View Article[CONNECT C#] IViewMonitor
Is it possible to specify a ViewMonitor function with C# or is C++ the only option? If C++ is the only way, can one create a C++ class (in a .dll) that can be called in an AddIn?
View ArticleRE: [V8i VBA] Edit Text in cell after placement in a loop
Thanks Jon, I was hoping that we could operate in memory and am glad to have made a false assumption in this instance. I know what you mean regarding tags and for simplicity will stick with text...
View Article[V8i VBA] Edit Text in cell after placement in a loop
Afternoon,I have a simple cell consisting of a line and a text element (which I may change to 2No. separate tags instead). I intend to place the cell programatically and I wish to change the value of...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
Jon, this is primarily a question for yourself seeing as you wrote almost all of the code I am currently using in this project but others can post if they wish.I'm having to revisit this and need a...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
[quote user="Barry Lothian"]I'm having to revisit this ...[/quote]Your question is about parsing CSV files using VBA. I suggest that you visit web sites that deal with VBA in general, because your...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
Hello Berry,there is a missing Exit Function in your function ParseDistanceFile:' Copy the data into the array. For R = 0 To num_rows If Len(lines(R)) > 0 Then one_line = Split(lines(R), ",") For C...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
Hi Martin, thanks for replying.Well noticed! I did have it there previously but for some reason must have deleted it when switching the function code.Hi Jon,I appreciate your points and understand if...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
[quote user="Barry Lothian"]The debug highlights the red line[/quote]Put a VBA break point on that line. Run your app. and inspect the value of your variables when it hits that break point. Does...
View ArticleRE: [CONNECT C++] DgnButtonEvent not found?
[quote user="Bruce Reeves SRNS"]DGNPLATFORM_TYPEDEFS (DgnButtonEvent)[/quote]Doesn't Viz Studio IntelliSense tell you what the typedef is if you hover your cursor over it?Otherwise, look in...
View ArticleRE: [CONNECT C++] DgnButtonEvent not found?
DgnButtonEvent is defined in <DgnView/DgnTool.h>
View ArticleRE: [CONNECT C++] DgnButtonEvent not found?
I ended up using DgnButtonEventCR as my function parameter
View Article[CONNECT C++] DgnButtonEvent not found?
I'm trying to use Bentley::DgnPlatForm::DgnButtonEvent as a parameter to a function but the compiler says type 'Bentley::DgnPlatform::DgnButtonEvent' is...
View ArticleRE: [V8i VBA] Attempting to automate placement of multiple points along...
[quote user="Jon Summers"]2. Does cellName contain a valid String? Is it the name of something in your cell library?[/quote]This! Within UserForm_Initialize(), txtPointCell.Text is given a hard-coded...
View Article[V8i VBA] Attempting to automate placement of multiple points along element...
Not sure if this is achievable or not so looking for some confirmation.Scenario:I have a DGN file which contains a long linestring and I need to place 109 points at unique distances (from a .XLS file)...
View Article