Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Browsing all 1677 articles
Browse latest View live

Convert oTextElement.ID.Low to C# Addin

Hello,I would like to get the ID of Element in the drawing. In VBA i used oTextElement.ID.Low in getting the ID.  In C#, I tried to use oTxtElement.GetSubElements().Current.ID but there is no Low.Can...

View Article


Lock a Level on the pull down, via Key-in or VBA

I have a tool bar button that brings on Level 5 and sets the various colors, weight and styleSub ActiveLayerSet5()' 110413 - Changed command, removed Dim commands and the Command...

View Article


Re: sdk and microstation version

I am a member of BDN but still recive Not Found error

View Article

Re: Export coordinates from elements (cells)

Hi Stefan,Thanks very much for your work.Have tried the code and it works just fine :)Now I try to understand the code step by to adapt a few things.Again, many thanks and appreciation for your...

View Article

Re: Convert oTextElement.ID.Low to C# Addin

Hi Aldrin,if you need to work with Element ID, it's pretty bad idea to use ID.Low only, because in such case you work with incomplete Element ID! ... and it means the only fact you can say about such...

View Article


Re: Lock a Level on the pull down, via Key-in or VBA

Hi RJB,key-in to lock a level: level set lock on "my level"key-in to unlock a level: level set lock off "my level"MicroStation VBA code simulating key-on to lock a level: CadInputQueue.SendCommand...

View Article

Re: Convert oTextElement.ID.Low to C# Addin

Hello Sir Jan,Thank you.Best Regards,Aldrin

View Article

Image may be NSFW.
Clik here to view.

Re: sdk and microstation version

 ehsanmohseni7:I am a member of BDNAs a member of the Bentley Developer Network (BDN) you should first log-in to Bentley Systems and go to Software Downloads.  You can download a full version (not a...

View Article


Image may be NSFW.
Clik here to view.

Re: Convert oTextElement.ID.Low to C# Addin

Aldrin Almia:In VBA i used oTextElement.ID.Low in getting the IDAn element ID is a 64-bit integer.  However, VBA was invented before 64-bit processors and does not support 64-bit integers.  Bentley...

View Article


Image may be NSFW.
Clik here to view.

Re: Export coordinates from elements (cells)

Lorys:but again we are all here to help and I believe offering alternative options to a users post is a good thing .. however I concede that I should have replied as a post to outside the programming...

View Article

Image may be NSFW.
Clik here to view.

Re: sdk and microstation version

ehsanmohseni7:I am a member of BDN but still recive Not Found errorFWIW, every request to join the private Bentley Developer Network community is verified by attempting to align the email address used...

View Article

Image may be NSFW.
Clik here to view.

Bug caused BY the mdlState_startPrimitive function

HelloWe are a company that uses MICROSTATION software to deploy our own solution “Dkmètre” that we have developed with the C and MDL languages. One of the functionalities that Dkmètre offers is...

View Article

Scroll through named fences in a Design file

Good day,I was wondering what kind of code I would need to access MicroStation named fences.I have created a program that counts cells in a particular active cell.I have saved a number of named fences...

View Article


Re: Bug caused BY the mdlState_startPrimitive function

You have installed a cleanup function for this, is this called properly ? I assume your application runs vis MS_DGNAPPS, have you installed a callback that informs you about the changing dgn file ?i.e....

View Article

Re: Scroll through named fences in a Design file

Hi,I hope it will be more clear how to work with Named Fences from VBA (not sure if it's the best approach, but it should work ;-).Named fence is stored as hidden shape file in a model, the only...

View Article


Image may be NSFW.
Clik here to view.

Re: Bug caused BY the mdlState_startPrimitive function

cdiTech:mdlSystem_setFunction( SYSTEM_SYMBOLOGY_CHANGE, __DkmComposite_SymbologyChanged__ ); mdlSystem_setFunction( SYSTEM_LEVEL_CHANGE, __DkmComposite_SymbologyChanged__ );I would remove, at least...

View Article

Re: Lock a Level on the pull down, via Key-in or VBA

Thank you so very much and all worked, I already updated my setlevel5, I also discovered you could turn on the Lock status in the Level manager and even turn it off and on from there, I did not realize...

View Article


Re: SetCustomProperty Question

Hi,The SetCustomProperty does not store the information in the DGN file.  It stores the information in the OS (Windows) file system.  If you do a Windows Explorer properties on the file, you will be...

View Article

How to check dimension text height

Hi, I have to run a check on a set of drawing to check dimensions. The drawings do not have a dimension style (style:none) and some of them have the text height taken from the text style, others have...

View Article

[v8i VBA] Error in finding last row in Excel using VBA

Hi All,I think this is bit of Excel related question than mvba...but any help on this will help me.what I want to do is create error report in an Excel sheet using VBA. below is the sample code which...

View Article
Browsing all 1677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>