Hi,
How can I assign value to "mdlDim_setStrings" ? In V8i we could set it easily as code below:
swprintf (dim_strings.primary.single, L"%.2f", fabs (pPnt1->y - pPnt2->y) / D_DGN_RESOLUTION / fc_10); mdlDim_setStrings (pElm, 0, &dim_strings); mdlDim_validate (pElm);
But in Connect I got following error:
- C2039: 'primary': is not a member of 'Bentley::DgnPlatform::DimStrings'
Connect Edition DimStrings seems to only have method to get strings:
- DGNPLATFORM_EXPORT WStringP GetString (DimensionTextPartType, DimensionTextPartSubType);
Hi, I have the same problem,
Someone had the solution to assign a value to the 'V8i primary string' in Connect?
Regards
Hi Sebastien,
it's 2 years old discussion, so it would be better to create a new post to reflect a fact you probably use newer MicroStation.
Also, please follow the best practices and specify used product and its version (build number) exactly. It helps to identify situation when bug in older version was reported and it's known in what version it was fixed.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point