RE: Getting incorrect color for an extended element(type: 106).
Hi Jon, My code looks like this: ------- void CElementGraphicsProcessor::_AnnounceElemDisplayParams (ElemDisplayParamsCR displayParams) { __super::_AnnounceElemDisplayParams (displayParams); if(...
View ArticleRE: Getting incorrect color for an extended element(type: 106).
[quote user="Sundar"]CElementGraphicsProcessor[/quote]Presumably that inherits from some class in the MicroStationAPI?[quote user="Sundar"]mdlElement_getProperties ( &uiLevel , NULL , NULL , NULL ,...
View ArticleRE: Getting incorrect color for an extended element(type: 106).
>> Presumably that inherits from some class in the MicroStationAPI? Yes as below: class CElementGraphicsProcessor : public IElementGraphicsProcessor>> What is the value of uiLevel? uiLevel...
View ArticleRE: Getting incorrect color for an extended element(type: 106).
[quote user="Sundar"]>> What is the value of uiLevel? uiLevel is 4[/quote]If you get its level name, is that valid?
View ArticleRE: Getting incorrect color for an extended element(type: 106).
>> If you get its level name, is that valid? Yes.
View ArticleRE: Getting incorrect color for an extended element(type: 106).
[quote user="Jon Summers"]Provide a code snippet, please[/quote][quote user="Sundar"] My code looks like this...[/quote][quote user="Jon Summers"]What is the value of uiLevel?[/quote][quote...
View ArticleRE: [CONNECT C++] Programatically add ItemTypes/PropertyDefinitions to an...
You do not edit ItemTypeLibrary schemas via the ECSchema APIs. You use the ItemTypeLibrary APIs. See, for example, ItemTypeLibrary::AddItemType().
View ArticleRE: [CONNECT C++] Programatically add ItemTypes/PropertyDefinitions to an...
FYI, more generally - you never edit a persistent schema directly. You must create a copy of it, apply your modifications, and then use DgnECManager::UpdateSchema() - with the caveat that unless you...
View ArticleRE: [CONNECT C++] Programatically add ItemTypes/PropertyDefinitions to an...
Wow - "That was easy !!" Totally overlooked that - I'll jump right in !!
View Article[CONNECT C++] Programatically add ItemTypes/PropertyDefinitions to an Item...
I've got a large number of pre-CONNECT Xttribute definitions that I want to "convert" into ItemTypes. I started to manually input the data (mainly strings) and decided it would be less error prone if I...
View ArticleRE: [Connect update 4 VBA] Text Node problem
[quote user="Nenad Poljcic"]It is wierd, it is possible to change one property but not other properties like view dependence or justification.[/quote]It seems the problem is somewhere deeper, I guess...
View ArticleRE: Getting incorrect color for an extended element(type: 106).
Hi Sundar, I guess that it's not possible to use "old MDL" functions to work with Extended Elements. There is no fixed data structure defined as exists for "standard element types". I have not worked...
View ArticleGetting incorrect color for an extended element(type: 106).
Hi,I am having an extended element(type: 106) with red color(3) in a dgn file.I am reading the graphic data from dgn file using mdl programming. For reading the extended elements I am using...
View ArticleRE: [Connect update 4 VBA] Text Node problem
There are two problems at this time to address.Item 1. It is not correct to attempt to modify certain properties; like IsViewDependent; on child/component SubElements of a complex. Certain properties...
View Article[CONNECT C++] mdlElementTemplate_ replacement functions
Looking for replacement functions for mdlElementTemplate_xxx. Found nothing in the migration tools, or deprecated lists. MstnElementTemplate.h is missing a typedef for TemplateSymbologyRemapperP, so...
View ArticleRE: [CONNECT C++] TemplateSymbologyRemapperP typedef missing
Hi Bruce,Sorry I am just seeing this now. There have been 3 mentions of this problem linked below. I will update this response with a defect when filed. For now, please use the suggested work-around...
View Article[CONNECT C++] TemplateSymbologyRemapperP typedef missing
In attempting to use MstnElementTemplateMgr::PopulateNamesListModel(), the compiler complains about a syntax error: identifier 'TemplateSymbologyRemapperP' (in \Mstn\XDataTree\MstnElementTemplate.h) I...
View ArticleRE: Getting incorrect color for an extended element(type: 106).
[quote user="Jan Slegr"]I assume Brien Bastings is able to provide more details.[/quote]I did take a look at this dgn earlier, but I can't replicate what's being reported so I wasn't going to chime in....
View ArticleRE: [V8i C#] System.ExecutionEngineException Error
I recently encountered same issue and found a solution here:Deleted file Bentley.PowerPlatform.FeatureAspects.dll under the folder ...\MicroStation\mdlapps.
View Article[V8i C#] System.ExecutionEngineException Error
Hi,I'm trying to place a cell using the C# API which worked previously in v8i (08.11.09..209) but I have recently switched to V8i (08.11.09.459) and after recompiling in this it crashed Microstation...
View Article