For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

get id from topods_shape

HICHEM's picture
Forums: 

hello:

how to get ID from topoDS_Shape?

think you for help

marco's picture

Usually occ classes have HashCode(). Try it

HICHEM's picture

Think you;

can you please give me example how to use HashCode to retrive for example the ID of from a BREP file.

think you

marco's picture

HashCode() provides aunique ID for a TopoDS_Shape. It's not a matter from where do you load the shape (BREP or IGES).
Maybe you are searching for something else?

HICHEM's picture

think you

how I can put some names on the entities of OCC.
" my objective it is to import some OCC files in another CAD " magic "
thank you

marco's picture

You need OCAF/XDE. Look at TNaming_NamedShape

HICHEM's picture

hi marco;

can you please give me an example how to use this class to get ID of topoDS_Shape.

think you......................marco

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.