RE: Opening a text file in Microstation 8.05.00.64
Hi Mohammad,[quote user="Mohammad Aryafar"]My only option is this version of Microstation that I mentioned.[/quote]If it's the only option, there is no choice. It's just about to be aware sometimes you...
View ArticleRE: Opening a text file in Microstation 8.05.00.64
[quote user="Mohammad Aryafar"]I found it very confusing using it as the most simple example (basic) uses multiple files[/quote]The basic example is not the simplest. It demonstrates an elementary...
View ArticleRE: VBA change level number of element
[quote user="Xavi GarcÃa Maranges"]I'm trying to change the level number of a element[/quote]This article about level control using VBA may help.
View ArticleRE: VBA change level number of element
Hi Xavier,[quote user="Xavi GarcÃa Maranges"]I'm trying to change the level number of a element[/quote]This is wrong and it's not how MicroStation works.What your code does is that is tries to change a...
View ArticleRE: VBA change level number of element
thanks Jon I'll look now this post. Jan , I want to move an element from one level to another ....
View ArticleRE: VBA change level number of element
Solved , If a object level is used , and assign to the level of the element if works correctly :Dim oLevel As Level Set oLevel = ActiveDesignFile.Levels("Por defecto") el.level = oLevelThanks !!
View ArticleRE: [Connect VBA] Password a module
I tried this in u3 and the VBA is working. Thanks for the update.
View Article[Connect VBA] Password a module
I'm being told by a developer that when they password a VBA module it causes Connect to abort. Â For that reason they will not be upgrading any of their utilities for Connect. Â Could anyone here verify...
View Article[CONNECT C++] ustnTaskIdP
How should we refer to that global variable in CONNECT C++? It's used in input queue functions such as mdlInput_sendCommand(). In earlier versions of MicroStation I would put this...extern char*...
View ArticleRE: VBA change level number of element
[quote user="Xavi GarcÃa Maranges"]SetoLevel = ActiveDesignFile.Levels("Por defecto")[/quote]One more comment: This access to a level object is correct, but is not robust in case the level does not...
View ArticleVBA change level number of element
Hi everybody ,I'm trying to change the level number of a element by this way :el.Level.Code = 0But when executes this line I have the error :err.Number-2147221504 err.DescriptionEl número de nivel ya...
View ArticleRE: Changing text size in Microstation 08.05.00.64
Just a note to my code, these are what I tried to use to change size: tsize->mode= TXT_BY_TILE_SIZE; //compiles but crashes at runtime //tsize.size.width=40; // error: error resolving size, the left...
View ArticleRE: Changing text size in Microstation 08.05.00.64
Hi Mohammad,[quote user="Mohammad Aryafar"]I'm trying to add a text on screen[/quote]What does it mean? Do you want to add text element to active model or you want to display temporary (dynamic) text...
View ArticleChanging text size in Microstation 08.05.00.64
Hello,I'm trying to add a text on screen and change the size of the text. If I add text with default size, it places text just fine, but if I try to change size attributes, it either gives an error in...
View ArticleRE: How to get length by using SelectByAccessString "Length"
[quote user="chih bo yu"]Nope, it does not have, I have tried to find it so many time.[/quote]I guess your installation is not correct, because I checked installation package bim081109747en.exe (which...
View ArticleRE: How to get length by using SelectByAccessString "Length"
It seems a misunderstanding exists how property handler works. What Jon posted is VBA example and property handler is different for every element, because the list of access strings is different, so if...
View ArticleRE: How to get length by using SelectByAccessString "Length"
[quote user="chih bo yu"]How to use GetAccessStrings?[/quote]Dim ac() As String ac = ph.GetAccessStrings
View ArticleRE: How to get length by using SelectByAccessString "Length"
[quote user="chih bo yu"]I have tried to find it [VBA help] so many time[/quote]Have you looked at the article I linked that describes how to find VBA help?
View ArticleRE: How to get length by using SelectByAccessString "Length"
Thanks, I have checked all about the list, but it still doesn't have "Length" or word like Length!
View ArticleRE: How to get length by using SelectByAccessString "Length"
[quote user="chih bo yu"]I have checked all about the list, but it still doesn't have "Length" or word like Length![/quote]It can be caused by different reasons, namely:You work with element type that...
View Article