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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to use ProSecdimValueSet?

LW_8431252
3-Newcomer

How to use ProSecdimValueSet?

ProSection p_section = NULL;

status = ProMdlLoad(L"D:\\s2d00023333", PRO_MDL_2DSECTION, PRO_B_FALSE, (ProMdl*)&p_section);

if (FAIL(status)) return 1;

if (p_section == NULL) return 1;

 

double rval = 0;

status = ProSecdimValueGet(p_section, 3, &rval);

status = ProSecdimValueSet(p_section, 3, rval*1.1);?fail,why?

1 REPLY 1
FV
17-Peridot
17-Peridot
(To:LW_8431252)

could be a weak or locked dimension or creo's intent manager did not like results.

try ProSectionIntentManagerModeSet to false, after that ProSectionSolve or ProSectionSolveRigid and after that ProSecdimValueSet.

Another workaround: try to get the type, references and location of the original dimension, delete the original one, make a new one, strengthen it if needs to be, and use ProSecdimValueSet on the new one.

HIH.

 

 

Announcements


Top Tags