[CONNECT C#] Placing cells
I am trying to Place a cell which is defined in a cell library. In V8i this was easily accomplished, assuming the cell is in an attached cell library. cell = _ComApp.CreateCellElement3(cellName, ref...
View ArticleRE: Units not correct in Microstation plug-in
Hi Dave,[quote user="Daverode"]Anyone have any idea what I'm doing wrong?[/quote]In my opinion there is nothing wrong with your code and because master units are used in VBA COM API, it should work as...
View ArticleRE: VB.Net: Capture native form open or close event via Microstation Add-in
Hi Dave,[quote user="Daverode"] I was interested in getting some of the promis.e form events[/quote]Tools to monitor or access promis.e events have to be published by promis.e API itself. From this...
View ArticleRE: VB.Net: Capture native form open or close event via Microstation Add-in
Jan, Thanks for the response. The ElementChangedEvent sounds like it might be the way to go. Looks like I'll have to do a little more research. Regards Dave
View ArticleVB.Net: Capture native form open or close event via Microstation Add-in
Hello,I've written an Addin (or I should say using modified Addin Jan Slegr had written...very nice, by the way) and I'm wondering if there is some way I can capture load and unload events of native...
View ArticleRE: Units not correct in Microstation plug-in
Jan, Thanks again for the information. I'm not sure where I got into the habit of declaring variables at beginning. I'll look into some of the questioned you had for me, but in the meantime I notice...
View ArticleUnits not correct in Microstation plug-in
Hey Everyone,I'm developing a plug-in for Microstation that inserts several text elements in the Active Model. It seems that everything I insert, the units (such as Point3dOrigin(71,44,0))end up being...
View ArticleRE: Abstract Vertices Coordinates
Hi John,a few comments:Please don't post the same question to more (sub) forums! It causes confusions only. If a question is accidentally created in a wrong forum, you can ask to move it to another...
View ArticleRE: Abstract Vertices Coordinates
One more note: See and study also C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\System\vba\examples folder, where examples delivered with MicroStation installation are installed. The...
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 C#] Attach raster
Hi Francesc,I agree with Maury to use the key-in is probably the simplest way now.Based on DgnPlatformNet documentation it seems that the right way is to use RasterAttachmentEdit handler, but I was not...
View ArticleRE: [CONNECT C#] Placing cells
Hi Olcay,[quote user="Olcay EBCIN"]isn't this a bit confusing algorithm to attach a cell from library? [/quote]Yes, it is :-([quote user="Olcay EBCIN"]May be something changed and I hope there is a...
View ArticleRE: [CONNECT C#] Attach raster
Many thanks, Maury and Jan I will use Interop assembly. It's a pity can't do it directly with NET API.
View ArticleRE: [CONNECT C#] Attach raster
[quote user="Francesc Calaf"]It's a pity can't do it directly with NET API.[/quote]Maybe there is a way simpler than discussed in this thread, but nobody from Bentley has confirmed the situation. Right...
View ArticleRE: THIS CODE DON'T WORK WELL CAN ANYONE HELP ME "V8i" "VBA"
Hi DMA,I don't see any simple way how to answer your question, because it seems you made such task nearly impossible and very time consuming.It's not clear what the description does.It's not clear what...
View ArticleRE: THIS CODE DON'T WORK WELL CAN ANYONE HELP ME "V8i" "VBA"
thanks for your fast reply the main function for this macro is for highlighting the clashes location by using the exported XLS file from navigator the main problem face me is the out put for these...
View ArticleRE: this code don't work well can anyone help me "v8i" "vba"
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. What is the...
View Articlethis code don't work well can anyone help me "v8i" "vba"
this macro make highlite on the clashes point that i already entered in excel format for this macro belowbut i face some problems1- the cloud on clash point are very far from the model2-there some...
View ArticleHow to Automatically Label Many Elements at Once using Property Fields
I have many line strings that I wish to label with a property field using the annotate - place text along command. I can only label one string at a time. Is there a way to select all strings and...
View ArticleRE: Run Microstation macro from Excel
Thank you very much sir. After few modification in Your macro finally i am able to get all text to excel. i will just now add few lines into it so that macro can do this same process for all DGN files...
View Article