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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

CREO PRO PROGRAM

SS4598
14-Alexandrite

CREO PRO PROGRAM

I want to use negative integers in input as my coordinates of datum points are negative as well as positive. Is it possible to enter negative integer using Pro/Program.

ACCEPTED SOLUTION

Accepted Solutions
SS4598
14-Alexandrite
(To:MartinHanak)

The values are getting updated when I check the displayed values remain positive and stored value changes to negative, which is my input.

 

View solution in original post

10 REPLIES 10
tbraxton
22-Sapphire I
(To:SS4598)

Yes, you can enter a negative integer value in a Pro/Program input. 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
SS4598
14-Alexandrite
(To:tbraxton)

Can you please suggest me how to do so as I tries entering $ sign in relation part of Pro program but it did not work as when I enter negative integers geometry is not updated.

tbraxton
22-Sapphire I
(To:SS4598)

Do you have a test case that you can post here? It must be in Creo 7 or earlier for me to open it. Educational license models I will not be able to open either.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
SS4598
14-Alexandrite
(To:tbraxton)

INPUT 

H  Number

"Enter the horizontal distance of datum point"

 

END INPUT

 

RELATIONS

D26 = $H

END RELATIONS

 

 

 

 

This is the general syntax I am trying to implement to check if on entering negative number in H to change x coordinate of datum point with dimension notation of d26.  This does not change the coordinate value. What is mistake in this?

 

Thanks in Advance.

 

MartinHanak
24-Ruby III
(To:SS4598)

Hi,

 

try this

 

$D26 = H

 

 


Martin Hanák
SS4598
14-Alexandrite
(To:MartinHanak)

The values are getting updated when I check the displayed values remain positive and stored value changes to negative, which is my input.

 

MartinHanak
24-Ruby III
(To:SS4598)


@SS4598 wrote:

The values are getting updated when I check the displayed values remain positive and stored value changes to negative, which is my input.

 


Hi,

did you set show_dim_sign yes  in your config.pro ?

Please attach pictures describing your situation.


Martin Hanák
MartinHanak
24-Ruby III
(To:SS4598)

Hi,

I attached part created in Creo 7.0.5.0.

show_dim_sign yes is not necessary setting in case of point offset from coordinate system.

Also replay ProProgram.mp4.


Martin Hanák
MartinHanak
24-Ruby III
(To:SS4598)


@SS4598 wrote:

I want to use negative integers in input as my coordinates of datum points are negative as well as positive. Is it possible to enter negative integer using Pro/Program.


Hi,

please read https://support.ptc.com/help/creo/creo_pma/r10.0/usascii/index.html#page/part_modeling/part_modeling/About_Editing_Dimensions.html help page. Maybe show_dim_sign yes  config.pro option will resolve your problem.


Martin Hanák
MartinHanak
24-Ruby III
(To:SS4598)

Hi,

what Creo version do you use?


Martin Hanák
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags