TAGGED: How To, spaceclaim
-
-
February 18, 2022 at 5:29 amhermanSubscriber
In Spaceclaim all items like IDesignBodies, Designbodies, bodies, IDesignFaces, DesignFaces, Faces, IDesignEdges .......
can be recognized by their hashcode. It seems that those hashcodes are generated randomly as soon as the drawing is reopened. Am I correct, or do i miss something? Is their a possibility in Spaceclaim to 'lock' the hashcodes. If not, is it possible to put a custom identifier (eg Guid) to each individual object (face, edge...) via code? (equal to a custom property to a part)
-
February 18, 2022 at 5:42 amSubashni RavichandranForum Moderator
Hello Herman Moors
Let me check this from my end and get back to you.
-
February 18, 2022 at 11:18 am
-
February 18, 2022 at 3:11 pmhermanSubscriber
Hello Subashni,
Thanx for your reply. No, I'm not referring to bar codes. We want to store the faces hashcode in a database. When someone has remarks about a certain face in the model, we can retreive the hashcode from the database, and search for the particular face in the model to change color of the face.
-
February 21, 2022 at 8:27 amSubashni RavichandranForum Moderator
Hello Herman Moors
I understand now, that you are trying to refer tot he faces using the hexadecimal code of the face in scripting.Â
Instead, you can refer to the faces as below.Â
Example:Â GetRootPart().Bodies[1].Faces[3]
This should give you the 4th face of 2nd body in the structure tree.Is this helpful to you?
-
- The topic ‘Adding permanent identifiers to bodies, faces and edges’ is closed to new replies.
- Unable to attach geometry 2024 R2
- Getting Mesh Faces With Specified Normal Via SpaceClaim Scripting (V241)
- How to provide blade angles in bladegen.
- DXF file loaded incorrectly
- plugin error failed to import assembly from spaceclaim
- Overlapping contact face
- Thermoelectric Cooler Model
- Issue Seeing Explore
- Warning Plugin Error Geometry in Design Modeler
- SpaceClaim stops sharing topology
-
1406
-
599
-
591
-
555
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.