Hi all
I would like to know if there is a replacement for mdlPattern_linear in the CPP API.
When working with shapes you can do something like:
ShapeHandler::GetInstance().AddPattern(
but I would like to add some linear pattern to a line / linestring.
Any ideas ?
TIA
Regards Evan
Hi EvanH,
Jon is correct that mdlPattern_linear is still available for use. The only class approach that appears possible is by going through the ElementTemplate (ElementTemplateParamsHelper) functionality (sorry no examples in the SDK at this time) via AddElementClass **mInstance, DgnElementClass::LinearPatterned); which then calls mdlPattern_linear.
HTH,Bob