This blog provides code snippets that demonstrate how to use EC Expression with properties:
Expressions currently work with Primitive properties. They do not support Struct or Array type of properties.Below steps explain how to use Managed and Native…
This blog demonstrates how to use Item Types Native, COM and Managed API's for following operations:
Lookup tables are a good way to avoid manual data entry and ensure consistency. Item Types now have a lookup tables capability. Combined with storage of Item Types in shared DGNLIBs and the Pick List feature this is very powerful.
The outcome of the steps…
MicroStation CONNECT Edition has introduced a feature (General Access Technology Preview Feature in Update 11 and Commercial Release in Update 12) which allows user to export and import Item Type's data in Excel format(.xlsx). This feature is accessible…
To modify Profile of a Parametric Solid you need to select Parametric Solid First and then click on its Profile Glyph that will give access to Profile Manipulation. In case your Profile contains Dimension constraints then you can Right Click…
we have investigated this issue and found this is a regression from V8i and is reproducible with locked and password protected VBA projects only.Another condition is to use the keyin "vba load" or "macro vba load" to reproduce this issue.…
Session Debug has been in MicroStation since the MicroStation Database connections were introduced. This handy command gives you insight into the SQL that is being generated from MicroStation or the MicroStation Database API…
Robert Hook said:The test case only produces incorrect results in AECOsim AND correct results within MicroStation, correct?
Yes, and as you see, there is no much magic involved.
But a big Thank You for your fast responses!
This can be resolved by setting up MS_VBALCID configuration variable with a value of 3084 or 1033.
1. Obtain the starting Caret using CreateStartCaret.
2. Use GetCurrentField to get TextField at current Caret position, if any.
3. Use Caret::MoveToNextField() to move to next TextField and go to step 2. It returns ERROR when it has reached the end.
IElementPropertyEnabler won't be useful to you. If you want DGN element properties, whether in native or .NET, DgnECManager is usually the place to look.
Hi Robert Hook
I guess there is still a little bug.
for %a in ("%SDK%" "%MS%" C: D: E:) do @fsutil 8dot3name query %~da >nul && echo Location: %a (8dot3name: ENABLED) || echo Location: %a (8dot3name: N/A)
Location: "%SDK%" (8dot3name: ENABLED)
FYI, we have filed Enhancement # 1040579 to support Textfields with .NET API.
Take care, the script from Robert Hook will not work on a German Windows ;-)Just try: fsutil 8dot3name query c: with every Drive Letter you use, You will get some German notation like:
fsutil 8dot3name query c:
Der Volumestatus ist 0 (8dot3-Namenerstellung…