Hi,
this is great news, I really appreciate that. A few years back, I developed a test addin with nunit that uses the nunit lite test runner. (You need to edit Microstation.Tests.csproj.user with appropriate values and can than start with F5). It writes…
In modern MicroStation V8 and CONNECT ElementIDs should be considered "non-colliding session created ids" where new elements are assigned 'next highest" ids available; thus not enabling the concept of persistent element ids (as attempted early on). If…
Thanks Jon,
That really helped. You alerted me to the mistake of passing and using DgnAttachment.GetDgnModel() rather than DgnAttachment. Once I created separated calls for these two then fixed the problem using ViewGroups ViewInformation for the DgnAttachment…
Hi Yongan,
Yongan.Fu said: SmartFeature API is available in .NET(C# ). Please see below object browser in VS:
Thanks for this information, because it's not mentioned in SDK documentation.
I'd like to add the information that it's available in ConstraintCommonNet…
The MicroStation product team is pleased to announce the availability of MicroStation CONNECT Edition Update 14 (10.14.00.109) on Software Downloads and as a downloadable update from the CONNECTION Client. This version continues to focus on frequently…
Maury said: I have tried setting Viewport.SetNeedsRefresh()
This should be all you need. This will cause your _DrawDecoration method to be called for this Viewport, and assuming you don't draw anything, your decoration graphics go away.
Seems like…
Maury said: it probably does have something to do with the struct type being copied and how properties are handled
As is often the case, Stack Overflow yields some relevant comments .
Hi Maury,
please, don't ask such questions, they create too perfect chance to procrastinate under "it's important and interesting question" mimics :-))))
Maury said: I ran into a problem when using a DRange1d as a property
Yes, based on my testing…
Hi Maury,
We are very sorry for your inconvenience for this AccuSanp issue due to scree resolution. Our development team is already working on this defect and hope it will resolve very soon.
For workaround, I will recommend to work on Laptop screen…
Hi Maury,
Maury said: Why not just do it in the dgnlib though?
to extend my brief former answer, why I prefer to use xml instead of dgnlib to define ribbon:
It's exact and pure: There is xsd available, so it's quite simple to write correct xml…
Hi Maury,
Maury said: I had no idea you could use xml to create the ribbons
it's described in MicroStationAPI documentation from very early beginning ;-)
Maury said: Why not just do it in the dgnlib though?
Because there are better and wider functionality…
Hi Alan,
We struggled to get the same working but eventually did. so for the benefit of others I'm going to share here.
create a sample xml file (see attached) and save it to eg "C:\TEMP\custom.xml"
create a cfg file (custom.cfg for example) in…