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

We are aware of an issue causing intermittent login problems for some users following a recent update. Learn More

Translate the entire conversation x

IF programming statement, Solve Blocks and Formatting

LV_12779641
3-Newcomer

IF programming statement, Solve Blocks and Formatting

Hi!

 

I have a twosome question, as I am in doubt if there a better or more straightforward solutions as what I have done currently:

  1. A PTC document where I have a mechanic exercise to calculate reaction forces ("StaticExercise"). I would like to know how to format functions, like an area which overlaps pages. This makes in inconvenient. As well, I am very interested how equilibrium formulas can be formatted and solved.
  2. In another exercise ("SteelRodElongation_Exersise"), I have applied an IF function, because I would like that the calculation breaks or stops, so it ends up with 0. Now the calculation gives some strange units at the outcome, at Delta L (if you change σ0.2 to 1 manually. What would you advise?

 

I have formatted the questions/notes in red in the files.

 

Like to hear your thoughts!

PTC Version is: 9.0.0.0.

 

Thanks a lot

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:LV_12779641)

As for your question 1), see my remarks in the attached Prime 9 sheet.

In short - there is no solution other than manually re-format the sheet. Deleting unused space, using smaller font size, splitting in more areas, ...

We have a very similar but more serious problem with long programmes that go over a page or with result expressions that are so long that they go over the page to the right.
Unfortunately, there is no automatic satisfactory solution for this either.

 

As for your question 2), simply apply an appropriate unit and don't use just a dimensionless zero

Werner_E_0-1737468239407.png

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:LV_12779641)

As for your question 1), see my remarks in the attached Prime 9 sheet.

In short - there is no solution other than manually re-format the sheet. Deleting unused space, using smaller font size, splitting in more areas, ...

We have a very similar but more serious problem with long programmes that go over a page or with result expressions that are so long that they go over the page to the right.
Unfortunately, there is no automatic satisfactory solution for this either.

 

As for your question 2), simply apply an appropriate unit and don't use just a dimensionless zero

Werner_E_0-1737468239407.png

 

Hi @LV_12779641,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.

Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,


Catalina
PTC Community Moderator
PTC
Announcements


Top Tags