cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Impossible, sometimes, to get back to attach point of a datum

0 Kudos

Impossible, sometimes, to get back to attach point of a datum

1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.

Hello.

We are developing control software and we need to read PTC CAD files.

We do this using Pro/TOOLKIT.


2. What version of Creo Parametric are you currently running?
Creo Parametric 8.0.5.0.

3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.

In some cases, the ProSetdatumtagAttachmentGet() and ProSelectionPoint3dGet() functions return PRO_TK_NO_ERROR but with a value point (0, 0, 0).

For more details, see

https://www.ptc.com/appserver/cs/view/case.jsp?n=16437645

which explains the whole process with an example file.

See also

https://community.ptc.com/t5/Customization/Datum-attachement-location-returns-0-0-0/m-p/809865


4. What is the use case for your organization?
Reading PTC CAD files in Creo 8.0.5.0 using Pro/TOOLKIT.

5. What business value would your suggestion represent for your organization?
This would make it possible to recover correct values for the positioning of the ties of the .datums

 

Translated by Olivier Le Pord with Google Translate on Aug 30 2022

---------------------------------------------------------------------------------

Original post: 

title: ProSetdatumtagAttachmentGet() ProSelectionPoint3dGet() return no error but (0, 0,0) for the point

 

1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
Bonjour.

Nous développons des logiciels de contrôle et nous avons besoin de lire des fichiers CAO PTC.

Nous faisons cela à l'aide de Pro/TOOLKIT.


2. What version of Creo Parametric are you currently running?
Creo Parametric 8.0.5.0.

3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
Dans certains cas, les fonctions ProSetdatumtagAttachmentGet() et ProSelectionPoint3dGet() retournent PRO_TK_NO_ERROR mais avec un point de valeur (0, 0, 0).

Pour plus de détails, voir

https://www.ptc.com/appserver/cs/view/case.jsp?n=16437645

qui explique tout le processus avec un fichier d'exemple.

Voir également
https://community.ptc.com/t5/Customization/Datum-attachement-location-returns-0-0-0/m-p/809865


4. What is the use case for your organization?
Lecture de fichiers CAO PTC dans Creo 8.0.5.0 à l'aide de Pro/TOOLKIT.

5. What business value would your suggestion represent for your organization?
Cela permettrait de récupérer des valeurs correctes pour le positionnement des attaches des .datums

1 Comment
olivierlp
Community Manager
Status changed to: Acknowledged

Thank you @DO_1054494 for your idea. Based on the information you provided, we are acknowledging it as the Community management team. This is not a commitment from the Product team. Other users may comment and vote your idea up.