Does anybody know how to implement the Reload function using C# for Connect Edition, just like the context command below
Hi Sa Li,
I agree with Jon that it seems there is no such functionality available in API. On the other hand, maybe it's there but "hidden" under another term (something like Cache::Refresh or similar? ;-). Any idea or comment from Robert Hook?
In my opinion you can you use these workarounds:
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi all,
I too agree with the above assessments and cannot find a readily accessible .NET Reload equivalent available. Like most API "extension" needs a wrapper call (like below) to native MDL would be necessary if an available key-in is not desired.
[System.Runtime.InteropServices.DllImport("ustation.dll", EntryPoint = "mdlRefFile_reload")] public static extern int AttachmentReload(IntPtr modelRef, int updateDisplay, int forceReload);
HTH,Bob