RE: Run Microstation macro from Excel
Dear sachin, can you please upload this macro to try it in order to distribute the knowledge :) thanks in advance
View ArticleRun Microstation macro from Excel
Hello,I Have Atleast 300 2D non-intelligent Microstation DGN files. Each file containes Piping Isometrics Generated From "Smart Plant Isometrics".Each file having few support Tags written in it. each...
View ArticleRE: iterate through dimension subentities
[quote user="e.g."]sset[i].Redraw();[/quote]Try sset[i].Rewrite();
View ArticleRE: iterate through dimension subentities
It didn't work, the terminator (the arrow) still stays with the previous color. Thank you, e.g.
View Articleiterate through dimension subentities
Hi, I have few drawings in which I have to update all leaders (dimension element) to have a specific properties; they were all made with style none; the code I am using is (microstation ss3):...if...
View ArticleRE: [V8i VBA] How to determine a form control's object name?
I have found that using the Change event of a TextBox control to validate an entry is quite annoying to a user. Every time a user enters a key stroke into the TextBox the input is validated. It doesn't...
View ArticleRE: [V8i VBA] How to determine a form control's object name?
Hi Rod,[quote user="RodWing"]I have found that using the Change event of a TextBox control to validate an entry is quite annoying to a user. [/quote]It is ... because, in my opinion, it's not the right...
View ArticleRE: Abstract Vertices Coordinates
JDear Jan Slegr, thank you very much for your help. So, the following code works fine as in the following a simple module: Public Sub GetAllLinesCoordinates() crlf = Chr(10) & Chr(13) Dim oElement...
View ArticleRE: Abstract Vertices Coordinates
It's good to see you converting old BASIC code to VBA.[quote user="John Kapopoulos"]Set ee = ActiveModelReference.GraphicalElementCache.Scan[/quote]You can refine your scan by creating a ScanCriteria...
View Article[CONNECT C++] DRange3D initialisation
I found the DRange3D struct in MicroStationAPI help. It's grown from a simple data container in V8i to a useful class in CONNECT.In previous versions of the API, we had to do something like this to...
View ArticleRE: Run Microstation macro from Excel
(Please visit the site to view this file)Dear Developer,Uploaded Macro here..Thanks,Sachin Patel
View ArticleRE: Abstract Vertices Coordinates
Hi John,[quote user="John Kapopoulos"]So, the following code works fine[/quote]Great, good to know the code is working.[quote user="John Kapopoulos"]Could above code be faster?[/quote]At first, please...
View ArticleAbstract Vertices Coordinates
Just beginning working in Micro Station VBAWe begin transforming our Micro Station Basic Macros into VBA.We have a three points Line string.Is there a very simple example in VBA on how to extract all...
View ArticleRE: [CONNECT - MDL C++] get active cellname
[quote user="Julia Frid"]When try to use char type as old code got error[/quote]The MicroStationAPI for CONNECT uses Unicode almost everywhere. There are few places where you will find a char[]...
View ArticleRE: [V8i VBA] How to determine a form control's object name?
Interesting discussion guys, good to listen to different viewpoints.[quote user="RodWing"]I have found that using the Change event of a TextBox control to validate an entry is quite annoying to a user....
View Article[VBA] Validate a TextBox
VBA lets you place interactive controls on a UserForm. The TextBox is a popular control: it lets a user enter text that your code can subsequently use.Often, you want a user to type a number into a...
View ArticleRE: [CONNECT - MDL C++] get active cellname
Thank You very much, Jon Best regards, Julia
View Article[CONNECT - MDL C++] get active cellname
Hello,please help me understand what type of variable I need to use for getting ACTIVEPARAM_CELLNAMEOld code: char cnm[256]; mdlParams_getActive(cnm, ACTIVEPARAM_CELLNAME); if (cnm[0]) { if (Dbg)...
View ArticleRE: [CONNECT C++] Dependency API
"Associative text" means the text elem has a specific dependency on another element causing the text to remain positioned relative to the root elem. Is that what you are trying to achieve? If so see...
View ArticleRE: [CONNECT C++] Dependency API
[quote user="Paul Connelly"]Is that what you are trying to achieve?[/quote]Yes![quote user="Paul Connelly"]see TextHandlerBase::SetupOffsetAssociation()[/quote]Thanks for the hint 8-)
View Article