Hi,
Use DynamicType()->Name(); // returns CString
Regards
Archived discussion
Test the Type using Dynamic Type
Hi all,
I have to create a command in Draw Test Harness which will check a line and a circle and give the name of the shape as the output and if it is a circle give the radius as well.
I tried to do this using Dynamic Type but could not.
Can someone give me any sample for this?
Discussion
4 archived replies
Posts are displayed in their archived order.
OK..Thanks a lot.
Can you provide me a sample code on using Name method of Dynamic Type to do the above task? I searched a lot, but could not find out. Please help me.
Thanks.
You can easy find a lot of examples grepping OCCT
sources with key = "DynamicType()->Name()".
Regards