RE: [MVBA] What's the unit of text height
Without sharing your code and also DGN file it's hard to say. It's also not clear if you mean the height how it's defined in Text Style definition or a final text height in a design file (where...
View ArticleRE: Is there an easy way to find out what mvba file contains a macro?
[quote user="RodWing"]Is there a way to find out what mvba file contains a macro?[/quote]Jan's recommendation to use the VBA Extensibility library should get you going. Bear in mind that VBA is hosted...
View ArticleRE: [MVBA] What's the unit of text height
my code is quite simple, nothing special.Set MyText = CreateTextElement1(Nothing, MyTextString, TempPoint, Matrix3dIdentity)Mytext.TextStyle.Height = 5Mytext.rewriteMy purpose is create a text element...
View ArticleRE: [MVBA] What's the unit of text height
[quote user="Changsong Ling"]Set MyText = CreateTextElement1(Nothing, MyTextString, TempPoint, Matrix3dIdentity) ... Mytext.rewrite[/quote]You've created a new element, but you rewrite it before it's...
View Article[MVBA] What's the unit of text height
MVBA V8i SS5To set text height, MyText.TextStyle.Height = 5. My questions is what's the unit of the text height? master unit? sub unit? or resolution unit?In my drawing, master unit : mm, sub unit :...
View ArticleRE: Is there an easy way to find out what mvba file contains a macro?
Thank you for that information Jon and Jan. I think with the relatively small number of .mvba files to search the manually load and browse method will be the approach I will take. If I was dealing with...
View ArticleIs there an easy way to find out what mvba file contains a macro?
Perhaps this should be in the MicroStation forum, but I thought I would try here first.I'm in the process of helping a client clean up their mess of a workspace. The problem I've encountered now is...
View ArticleRE: Is there an easy way to find out what mvba file contains a macro?
You *may* want to try AgentRansack, a search utility that can find embedded strings.
View ArticleRE: [MVBA] What's the unit of text height
Hi Changsong,it looks like there are some misunderstandings:[quote user="Changsong Ling"]My purpose is create a text element which text height is 5 mm.[/quote]As Jon wrote, it's not correct code to...
View ArticleRE: [MVBA] What's the unit of text height
1. I showed some key codes, it is just to let you know that it is ordinary code, nothing special. If you think my sample code doesn't addelement but rewrite, and question my code, this is...
View ArticleRE: [CONNECT C#] Attach raster
You can use the keyin: Raster Attach Fixed "filePath" The filepath should be wrapped in quotes.
View Article[CONNECT C#] Attach raster
Hello,anyone know how to attach a georeferenced raster with C# on microstation CONNECT edition?many thanks,
View ArticleRE: [V8i VBA] Moving Point in rotated view
[quote user="joelmck"]I'm sure I need to use a transformation of some sort on the point3D[/quote]You're on the right track with Matrix3dInverse. Are you using a class that implements...
View Article[V8i VBA] Moving Point in rotated view
I'm trying to move a text element relative to a point. This is easy enough to do when my view is aligned with the ACS but it doesn't work in a rotated view.I'm sure I need to use a transformation of...
View ArticleRE: VB.Net: Capture native form open or close event via Microstation Add-in
Jan, Thanks for the reply. Sorry it took so long to get back to you. The reason I was interested in getting some of the promis.e form events is so that I could monitor what symbols are being inserted...
View ArticleRE: VB.Net: Capture native form open or close event via Microstation Add-in
Please reveal the version of MicroStation!
View ArticleRE: Units not correct in Microstation plug-in
Please reveal the version of MicroStation![quote user="Daverode"]The units end up being multiplied by 39.73[/quote]If that number were 39.37 I'd postulate a metres-to-inches conversion.
View ArticleRE: VB.Net: Capture native form open or close event via Microstation Add-in
Microstation V8i(Select Series 4)
View ArticleRE: Units not correct in Microstation plug-in
Microstation V8i(Select Series 4). Yes I believe it is 39.37.
View ArticleRE: [CONNECT C#] Placing cells
Hi, isn't this a bit confusing algorithm to attach a cell from library? This is one year ago. May be something changed and I hope there is a quick way of attaching cell now. is it?
View Article