When I include
#include <Mstn\XDataTree\MstnElementTemplate.h>
in order to use MstnElementTemplateMgr I'm prompted with following errors:
c:\programdata\Bentley\MicroStationSDK\include\Mstn\XDataTree\MstnElementTemplate.h(93) : error C2061: syntax error : identifier 'TemplateSymbologyRemapperP' c:\programdata\Bentley\MicroStationSDK\include\Mstn\XDataTree\MstnElementTemplate.h(120) : error C2061: syntax error : identifier 'TemplateSymbologyRemapperP' c:\programdata\Bentley\MicroStationSDK\include\Mstn\XDataTree\MstnElementTemplate.h(123) : error C2061: syntax error : identifier 'TemplateSymbologyRemapperP' c:\programdata\Bentley\MicroStationSDK\include\Mstn\XDataTree\MstnElementTemplate.h(136) : error C2061: syntax error : identifier 'TemplateSymbologyRemapperP' c:\programdata\Bentley\MicroStationSDK\include\Mstn\XDataTree\MstnElementTemplate.h(164) : error C2061: syntax error : identifier 'TemplateSymbologyRemapperP'
It seems to me that the definition of TemplateSymbologyRemapperP is missing.
I've looked through the header files but I've not been able to find it...
What can I do to get on with this issue ?
Regards, Evan
Could you provide a code snip showing your "includes" and "using" statements? Thank you, Bob
Hi Bob
My "includes":
#include <Mstn\MdlApi\MdlApi.h> #include <DgnView\DgnElementSetTool.h> #include <Mstn/ISessionMgr.h> #include <DgnPlatform/TextHandlers.h> #include <DgnGeoCoord/DgnGeoCoord.h> #include <DgnPlatform/LinearHandlers.h> #include <DgnPlatform/CustomItemType.h> #include <Mstn\XDataTree\MstnElementTemplate.h>
My "using" statements looks like this:
USING_NAMESPACE_BENTLEY USING_NAMESPACE_BENTLEY_DGNPLATFORM USING_NAMESPACE_BENTLEY_MSTNPLATFORM USING_NAMESPACE_BENTLEY_MSTNPLATFORM_ELEMENT USING_NAMESPACE_BENTLEY_ECOBJECT
I hope that you can tell me how I can go on with this...
Answer Verified By: EvanH