I want to do some processing on every model in a list of dgn files. I need to be able to do this in batch mode (initapps) as well as interactive mode.
I tried mdlDgnFileObj_traverseModelIndex, but the models are not actually made active, so when…
Hello,
I'm porting an application which has a native window which tracks a MicroStation view. When dynamics (for example a smart line segment) is added to the MicroStation view, my aplication needs to be notified of those changes, and mirror them…
when i draw a line / shape with the smartline tool, it creates a continuous line that cannot be edited. there are no points visable along the line when it highlights , it just shows the continuous line?? does anyone have any ideas what is wrong?
I want to create a custom menu to import a specified model into the active design file.
There is a keyin: model import all "Filename" which will import all models of the specified file. Is there an option for this keyin to specify the name of a…
In my company GIS applications are very important. To improve performance some 6000 Euro have been spent on a new PC (2x4 core XEONS with 12 MB L2 Cache, Raid Controller, fast memory, etc.). Theoretically the new PC should be at least twice as powerful…
How can I detect from dotnet addin (c#) if any opened view's extents were changed? For example when user zoom in/out or pan?
I have made a class (ViewEventsHandler) wich implements IViewUpdateEvents interface.
I called the AddViewUpdateEventsHandler…
praveeneswarrao:
it is elementenumerator.
oElEnum = Application.ActiveModelReference.GetSelectedElements();
It sounds like the variable you used was a 'preserved' name or object name. For example declaring an Element as element…
Dear all,
I have a problem understanding the logic of the way include files are loaded by the MDL compiler.
According to the documentation, the -i switch should be interpreted as follows:
-i<dir> Add the specified directory to the list of directories…
Unknown said: I would like to write some data to a form ( VBA) in Access and link these data to a geometry in the DGN
Please post questions about VBA to the VBA Forum .
You can link MicroStation graphic elements to a relational database with or…
I am not facing any problem in mdlElement_display. But In V7 this code displays the line wheb mouse button clicking. Not shows in XM Edition. it shows hidden line. I want display the line for temporary not using mdlElement _add function.
Code Snippet…
Thanks for the reply. All i want it to do is close down the task navigation bar. I understand there is a variable called MS_Exit where you can specify a user command file... to be run on exit,could this be done here.... I have tried to look up info on…
Hi Shawn,
MicroStation key-in is mdl l calculat; calculator userPrefsP->addFlags.positionalKeyboardNavigation=0 to switch of the keyboard mapping.
HTH Jan
We use a custom extension that replaces the .dgn for our sheet files. We are finally upgrading to XM and we would like our custom extension to be listed as an option in the "files of type" filter on the open dialog. in previous versions, once you typed…
We have encountered an isse with the number of cell libraris that are being selected by the "MS_CELLLIST" configuartion variable. We have company standard cells and DOT standard cells. when these are all selected by the "MS_CELLLIST" config the list of…
Hello,
I have a c# addon dialog. I like to have an event, if the dialog changes to active (dialog has blue title), or if the mouse is doing something else inside the MicroStation and the dialog changes to deactive (dialog has grey title).
The…
There does not appear to be events directly tied to opening and closing of Microstation, but there are design file events for load and unload. Below is an example straight out of the help file for VBA for Microstation. (Use the little "?" button in the…
Erwin,
You didn't say whether you were running a single or dual screens on your new computer. In addition to the myriad of variables that Phil previously mentioned, if you are running dual screens, there is one other setting that is a complete…
Hi all!
I need help. I need to translate text in data from english to other language. After editing file i need icon, that translate every words in file to anoher language. How can I do this?
thnx a lot!!!!