• RE: [CONNECT Update 16 C++] MultiCppCompileGo.mki

    Yongan.Fu
    Yongan.Fu
    Jon Summers said: Here's a note found in MultiCppCompileGo ... This note came from MultiCppCompileRule.mki, not MultiCppCompileGo.mki. Jon Summers said: What does uniform mean in this context? I think it means the ${MultiCompileDepends} part. The…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
    • Jan Šlegr
  • RE: How to create EC Scheme for microstation connect?

    Robert Hook
    Robert Hook
    Hi Jon Summers , Though (at this exact moment) MSCE U17.0 has not been announced , it is available for download . The MSCE U17.0 SDK download and announcement should occur within the next two weeks and Microsoft Visual Studio 2022 will be part of…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: In VBA Compress DesignFile no longer clears memory in Microstation Connect 10.15.00.74, is there another method to clear memory between successive file open operations?

    Robert Ness
    Robert Ness
    Jon, I did try a similar bit of code in the Excel IDE by just assigning a column to an object variable in an external loop set for 20000x and although there was a spike in my CPU usage, as expected, memory use did not change.
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Distance along curve

    Stuart Milne
    Stuart Milne
    Jon Summers said: It's a separate product with its own installation. It may be delivered with OBD. It used to be delivered, in the early days, with MicroStation. It was originally cost free, but I don't know the current licensing offer. Hi Jon. Its…
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
  • RE: [MSCE U16 C++] change Element color to Colorbook Color.

    Brien Bastings
    Brien Bastings
    Manuel Höger said: s it possible to set the Colorbook Color Directly without using "mdlColor_convertRGBtoIndex". What can be stored in Disp_hdr.symb.color is a 0-255 index into the file's color table, an extended index representing a book or rgb color…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
    • Jan Šlegr
  • RE: Distance along curve

    Stuart Milne
    Stuart Milne
    Hi Jaimin Do you mean "sort"? If so you can use the Operation Node in GC with the OrderBy method based off a projected point from the centre of the circle to the curve. The originating circle needs to maintain a relationship to the projected point…
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
  • RE: Item type expression - Thicken Solid

    Mangesh.Shelar
    Mangesh.Shelar
    I agree with Yongan. Property Panel - Property Expression Extraction is great idea. this.GetElement() => Extract element to which ItemType is attached, and exposes all intrinsic properties. For e.g. this.GetElement().TotalLength this.GetItem(…
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
  • RE: Item type expression - Thicken Solid

    Yongan.Fu
    Yongan.Fu
    The expression should be written as below: this.GetItem("SmartFeaturesSchema:ThickenFeature").Thickness
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
  • RE: Vba for pointcloud clips

    Oto
    Oto
    Can be achieved with action strings. Key-In: NULL;M,cfClip cube;M,PRChoose data point;/d;T,pointcloud clip box;dl=-1,0,1;dl=2,0,0;dl=0,-2,0;dl=0,0,-2;
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: [CE U16 C#] IECPropertyValue - obtain correct units?

    Edward Ashbolt
    Edward Ashbolt
    Just wanted to post an update on the situation in case it helps others. I built a helper class to assist with unit conversion: public static object GetFormattedPropertyValue(IECPropertyValue propertyValue) { try { if (propertyValue.IsNull) …
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: How to find the offset of a reference file.

    Yongan.Fu
    Yongan.Fu
    I am still confused about MasterOrigin and RefOrigin. In some cases, we can't get correct reference offset by using MasterOrigin - RefOrigin. Below is a workable approach to get this offset. Simple! DPoint3d offset; Transform trans; double uor …
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • CE-Populate table with cut/paste from Excel

    mwlong
    mwlong
    I was working with some tables that were started by a colleague and I was curious with the method he was using to populate data in the table. As far as I was aware there were only a few ways to accomplish the task. I was creating tables in a .dgnlib and…
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
    • Florian S.
    • MaryB
  • RE: Microstation Connect C#: UserPrefsP

    Robert Hook
    Robert Hook
    Hi Kevin Ho , Jon is correct that you should consider updating your code to either set default attachment variables for uniform results with or without your custom application, or call respective .NET Attachment methods, or lastly continue to use/set…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: SDK and Visual Studio 2022 upgradation

    Maury
    Maury
    Jan Šlegr said: To use Visual Studio 2022 (any edition) is the best solution in my opinion. I would note that with VS 2022, there seems to be some additional steps when working with WPF and custom user controls that rely on the Bentley API. Controls…
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: [VBA CE U16.3] Difference between table element type 106 and msdElementTypeTable (96)

    Yongan.Fu
    Yongan.Fu
    Jan Šlegr said: (together with extended nongraphic element 105 Jan Šlegr said: All these elements are stored as 106 + 105 elements. Jan Šlegr said: whereas type 105 is not graphic one 105 is Mesh header element. 107 is extended nongraphic element. …
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
    • Jan Šlegr