How to access TextDot CRC

Hello,

I’m looking for help using the DataCRC() method.

I’m trying to return the DataCRC for a Textdot, but the code doesn’t seem to be working as expected. The following code snippet sets rObj to a Rhino.Geometry.TextDot, but then when I try to use the DataCRC method it only returns 0 instead of a normal CRC value.

Do I need to be accessing the Textdot differently?

rObj = rs.coercegeometry(GUID)
crcval = rObj.DataCRC(0)

Is should add this code snippet works on other geometry types (curves, breps) so I’m confused why it isn’t working in this case

Thanks

Hi @NavArch,

Thanks for reporting.

– Dale

1 Like

@Dale,
Is there a similar issue with blocks (InstanceReferenceGeometry)?
rs.coercegeometry(blockGUID) does return a Rhino.Geometry.InstanceReferenceGeometry object, but again then calling DataCRC(0) returns a value of 0.

Thanks

Hi @NavArch,

Same story as above - I’ll do the latter when I’m doing the former.

– Dale

@dale
I see progress was made based upon the YouTrack comments. When do you expect these updates to be pushed out?

Hi @NavArch,

Looking at the issue, the release target is set to 8.28.

Let me know if you want to test an internal build.

Thanks,

– Dale

OK I’m 8.27 right now. Its not a huge issue to wait for 8.28. If it should come out in the next month that will be fine

RH-91145 is fixed in Rhino 8 Service Release 28 Release Candidate