RE: [CONNECT C++] Determine Cursor Screen Position
It looks like: ViewCallback::SetMotionFunction(ViewMotionCallback); may be the solution...
View Article[CONNECT C++] Determine Cursor Screen Position
If I've got a IViewMonitor set up, does the ViewportP or ViewportP::ViewInfo contain any information about the current cursor location that I can retrieve. I'm attempting to monitor new elements being...
View ArticleRE: removing proxyelements from Microstation files
Hello all and thank you for your responses, A little more info - we are trying to convert files from an early Microstation version (08.11.05.17) with an EED plug-in (Bentley Elementary Electrical...
View ArticleRE: removing proxyelements from Microstation files
Ido, My thoughts are you have a new (product based) question related to loss of information during a conversion that would be best asked to the appropriate product support team community first as a new...
View Article[CONNECT C++] IViewManager::LoadSpriteFromRsrc replacement attempt
Since LoadSpriteFromRsrc() isn't yet available (as of Update 4), I thought I would try to defined a class that would let me load an Icon and use it for view decoration purposes. The Help File states...
View ArticleRE: [V8i SS2 VBA] tag element code
Hi All, My text got chopped from my post, so I am writing it again here. In my above post, I wrote this code and it has some quirkiness to it. Could someone have a look and see if I did anything bad. I...
View Article[V8i SS2 VBA] tag element code
Public Const Tag_Set_Name = "testTagSetName" Public Function GetTagSet(ByVal TagName As String) As TagSet Dim strName As String Dim oTagSets As TagSets strName = Tag_Set_Name Set oTagSets =...
View ArticleRE: [V8i SS2 VBA] tag element code
I see two problems...[quote user="minion"]Set td = GetTagSet.TagDefinitions.Add(TagName, msdTagTypeCharacter) td.IsConstant = True[/quote]You've defined a tag as constant, but without giving it a...
View ArticleRE: [V8i SS2 VBA] tag element code
Thanks for the tips Jon. I've set .IsConstant to false and I've set a default value in the Tag Definition. I noticed that if I click on the undo a number of times, maybe four or five times, it does...
View ArticleRE: [CONNECT C++] Converting old hidden line removal code using...
Does the NamedView class help?#include <DgnPlatform/NamedView.h>
View ArticleRE: [CONNECT C++] PersistentElementRef raison d'être
Jon, You are looking at the published API, which as you know hides more that it exposes. Rest assured the actual implementation of PersistentElementRef does all sorts of important,...
View ArticleRE: [CONNECT C++] PersistentElementRef raison d'être
Hi Jon, Since Transient was already an established item/term; PeristentElementRefs are used for specific cases where an ElementRef is highly likely to incur some remaining changes. e.g. _OnElementAdded...
View Article[CONNECT C++] PersistentElementRef raison d'être
Here's the definition of class PersistentElementRef, found in DgnModel.h...struct PersistentElementRef : public ElementRefBase { private: virtual void MakeClassAbstract() = 0; public: };It's an...
View ArticleRE: [CONNECT C++] IViewManager::LoadSpriteFromRsrc replacement attempt
It is not currently possible for you to implement ISprite. The virtual methods that you would need to implement are hidden in the published api. HTH -B
View ArticleRE: Get Reference to Active Design File C++ V8i SS4
[quote user="HDR_Coder"]I am wanting to iterate through all the models in my active design file in C++. Note that I am using V8i[/quote]#include <msdgnmodelref.fdf> DgnFileObjP oDgnFile =...
View ArticleGet Reference to Active Design File C++ V8i SS4
I am wanting to iterate through all the models in my active design file in C++. Note that I am using V8i.The "MDL Function Reference" says I need a DgnFileP in order to create this iterator. Is there...
View ArticleRE: [CONNECT C++] Converting old hidden line removal code using...
I use NamedView to create the saved views with MS CE.
View Article[CONNECT C++] Converting old hidden line removal code using...
I'm porting some C++ drawing creation code where one of the usual operations is to create named views in model and then those views are attached into separate drawing file. One option is to have...
View ArticleRE: [CONNECT C++] Converting old hidden line removal code using...
DgnFileP dgnFile = mdlModelRef_getDgnFile (mdlModelRef_getActive()); NamedViewCollectionCR namedViewCollection = dgnFile->GetNamedViews(); for each (NamedViewPtr namedView in namedViewCollection) {...
View ArticleRE: [CONNECT C++] Converting old hidden line removal code using...
The problem is not about finding named view, but writing the saved view to hidden line file. That is, replacing code like below where removed function mdlView_findNamedElmdscr is used to get saved view...
View Article