RE: [Connect C++] Porting saved named view creation code
I looked at NamedViews and made so progress. I now have code below. One thing missing is mdlViewInfo_setActiveZ handling. It takes ViewInfoP as argument and I don't know how I would get that from...
View Article[Connect C++] Porting saved named view creation code
How should I go on with porting old saved named view creation code to Connect?The code does not modify current view, instead the saved view is used when the current file is attached to drafting file...
View ArticleCustom Linestyles won't resymbolize if they are in a reference file
We have an MDL application (since ported to Native Code) that resymbolizes elements on the fly based on user specified criteria. Changing Color, Style, and Weight are the most common uses and this...
View ArticleRE: VBA: pattern informations
Hi Jan, can you tell me how to use MDL to get the hatch-space? I used the variable "spc" for your code, in my code its named "abstand" (german). Regards, Jacqueline
View ArticleRE: VBA: pattern informations
Hi Jacqueline,[quote user="Mini"]can you tell me how to use MDL to get the hatch-space?[/quote]unfortunately it's not easy. You have to use a proper MDL function (MDL documentation delivered with...
View ArticleRE: Custom Linestyles won't resymbolize if they are in a reference file
Hi Jeff,[quote user="jeff.clough"]We have an MDL application[/quote]I recommend to read and follow MicroStation Programming forum best practices, especially rules about sharing mandatory information....
View ArticleRE: Custom Linestyles won't resymbolize if they are in a reference file
Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...
View Article[V8i VBA] Passing Listbox reference to class, different to a module?
I've been asking this at my usual VBA information sources but no solution as yet so I thought its at least worth asking here.The questions is, is the process of passing the reference of a form control...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
[quote user="Barry Lothian"]Is the process of passing the reference of a form control (in my case again a listbox) to a function in a class any different to how you do it for a function in a...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
[quote user="Jon Summers"]Use Debug.Assert to verify that things are the way you think they ought to be...?1Debug.Assert NotLBox.List(C, 3) IsNothing[/quote]Afternoon JonFor C = LBound(CurrArray, 2) To...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
[quote user="Barry Lothian"]I have confirmation that the listbox object reference is not being passed for whatever reason[/quote]VBA controls are confusing and poorly-documented. You may have to pass...
View ArticleRE: Custom Linestyles won't resymbolize if they are in a reference file
Hi Jan/Jon,Thanks for the responses, I should have been more clear originally, but here is more information. I'm having some difficulty with the quoting, so I hope this comes across formatted ok.I...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
I have tested changing the function declaration however it did not change anything:Private Function TextFromArray(Point As Point3d, ByRef CurrArray As Variant, ByVal LBox As MsForms.ListBox)This is an...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
[quote user="Barry Lothian"]Userform:Publicm_ClsUpDown AsNewClsListbox_UpDown[/quote]Not sure what's going on there. If m_ClsUpDown is a private member of your UserForm,...
View ArticleRE: [CONNECT C++] ElementTemplates, Items, and...
Bruce, As stated previously, the currently available published API does not allow you to correctly attach Items to Element Templates. The issue you report is one of several which are expected as a...
View ArticleRE: [CONNECT C++] ElementTemplates, Items, and...
I'm not using the API to attach Items to Element Templates - I've done that manually. I'm attempting to programatically use the ElementTemplate (with an ItemType as part of it) and apply it to an...
View ArticleRE: [CONNECT C++] ElementTemplates, Items, and...
Yes, and in this other thread: communities.bentley.com/.../132356 I said this:> there is a specific flag that must be set on the ECInstance indicating it is an Item attached to a Template, which...
View ArticleRE: [CONNECT C++] ElementTemplates, Items, and...
I had hopes that by assigning an Item to the ElementTemplate, then using that Template to "symbolize" elements as they were created would eliminate the need for me to programatically assign the Item to...
View Article[CONNECT C++] ElementTemplates, Items, and...
I'm attempting to use SystemCallback::SetElmDscrToFileFunction() to catch when a new element is being written to the model. I have configured a group of ElementTemplates that define color,weight,style,...
View ArticleRE: [V8i VBA] Passing Listbox reference to class, different to a module?
I'm not sure why I had it that way, I guess I must have followed an incorrect code suggestion when learning more about classes. Oddly enough though, the code arrangement worked without any problems but...
View Article