RE: [V8i InRail VBA] SmartSolidElement and Advanced Settings - Solids Area.
[quote user="Michal Kurzewski"]Set oSolidElm(2) = oSolidEnum.Current[/quote]Where's the declaration of variable oSolidElm?[quote user="Michal Kurzewski"]The next solution I tried to apply was finding...
View ArticleRE: [V8i InRail VBA] SmartSolidElement and Advanced Settings - Solids Area.
Since your code works correctly when InRail isn't running, I suspect that InRail has established a global "current transform" that includes a scale factor which would prevent the normal "solids working...
View Article[C# Connect] Possible to add a TransformInfo option to not scale line style...
Well, I have been having issues with the line styles parameters getting scaled and tracked it down to the Element.ApplyTransform(TransformInfo) method that I use to go from UOR and back...
View ArticleRE: [V8i InRail VBA] SmartSolidElement and Advanced Settings - Solids Area.
Hello Jon. All declarations, including SmartSolidsElement, are in the same sub. Code works both in InRail (before doing any Inrail stuff) and pure Microstation. However when doing anything in Inrail -...
View ArticleRE: [V8i InRail VBA] SmartSolidElement and Advanced Settings - Solids Area.
[quote user="Michal Kurzewski"]It seems to be applied only to SmartSolidElement[/quote]You'll need to experiment with Brien's suggestion. Write a class that begins/ends the current transform...' In...
View ArticleRE: Windows10 - AECOSIM/Bentley Product VBA scripts fail
To set a baseline for the what type of problem may be occurring, I suggest the following items be performed individually in the order listed to help identify or resolve the issue(s):Most new product...
View ArticleWindows10 - AECOSIM/Bentley Product VBA scripts fail
We run a Army Secured Operating system environment with many STIG policies applied. We are finding that the VBA scrips crash Bentley products when we run them. simple example mvba files up to AECOSim...
View ArticleRE: MicroStation VBA - Attachment Properties
I am running MicroStation V8i, 08.11.09.459. Running as a stand-alone application,. The Reference dialog window has an "Orientation" column that displays how the reference was attached (Coincident,...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
Appreciate the help. under configuration, cells, cell selector Directory did edit append and put in the following C:/Programdata/Bentley/Microstation...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
Hi Richard,what I see as the biggest problem is that you provide zero ifnofrmation and no facts. Usually it's much better to copy-past a snippet for configuration file or to share captured screen with...
View ArticleRE: MicroStation VBA - Attachment Properties
Hi Warren,[quote user="Warren Malveau"]I am looking for a property that will tell me an attachment's orientation[/quote]I think this property is not available in VBA API.I guess the solution can be to...
View ArticleRE: MDL APPLICATION CELLSEL LOAD
[quote user="Richard Phillips"]C:/Programdata/Bentley/Microstation v8i(selectseries)/workspace/projects/rjbp/ms_cellselectordir > $(rjbp)cell/[/quote]That won't work unless you first define...
View ArticleMDL APPLICATION CELLSEL LOAD
Every time I want my tool bar buttons to work load various .CFS files I have to manually run Utilities,> MDL Applications> select CELLSEL and press LOADI made a button to do this on the tool bar,...
View ArticleRE: what is the function declaration for mdlCurrTrans
Hi Vinoth,please read and follow MicroStation Programming Forum best practices and also use Syntaxhighlighter when posting any code snippet (otherwise the code is ugly and hard to be read).In your post...
View ArticleRE: what is the function declaration for mdlCurrTrans
many Thanks, Jan. your answer helped me to resolve the issue. I will follow the forum guidelines in further post's.
View Articlewhat is the function declaration for mdlCurrTrans
Private Declare Sub mdlKISolid_beginCurrTrans Lib "stdkisolid.dll" (ByVal modelRef As Long)Private Declare Sub mdlCurrTrans_transformPointArray (?????????)sub main()'got element'got pt1...
View ArticleRE: Get total length of multiple lines - different approach
Thank you John. I will try to make it as you suggested
View ArticleRE: [V8i C#/MDL] Filter Table Names
[quote user="Mark Stefanchuk"]if I want to use mdlFilterIterator_getFirst(...) what do I pass for table name, that is, pFilterTableNameIn?[/quote]You may want to try lines of code like...
View ArticleRE: [V8i C#/MDL] Filter Table Names
Thank you Artur, LEVEL_FILTER_TABLE_NAME = L"level-filter" was what I needed. I have the iterator working in c# and will post code here when I get the result I want. There seems to be some issues with...
View ArticleRE: [V8i C#/MDL] Filter Table Names
A little more research and I found mdlFilter_getPathName which returns the full name (parent.child) of the filter. Which is what I really wanted. The following code works to get a listing of filter...
View Article