[Br...] Posted February 6 Share Posted February 6 I am trying to use variables to modify datums on a position characteristic. The characteristic will modify itself based on the requirement of the hole it is measuring. So If I had a position callout of .005 on datums -ABC-, it would update the tolerance and datums accordingly. My question is, how do you input nothing? If I want to assign a value of nothing to the variable, how would I go about doing that? If there is no tertiary datum, I just want to have it left blank. Does anyone know how I might go about doing this? Link to comment Share on other sites More sharing options...
[Ri...] Posted February 6 Share Posted February 6 (edited) Please sign in to view this quote. Blank for a variable is just double quotation marks. Edited February 6 Link to comment Share on other sites More sharing options...
[Br...] Posted February 6 Author Share Posted February 6 For whatever reason when running simulation, leaving it blank in that way using just the "" causes the characteristic to fail. Link to comment Share on other sites More sharing options...
[Ri...] Posted February 7 Share Posted February 7 (edited) Please sign in to view this quote. I see that now. Edited February 7 Link to comment Share on other sites More sharing options...
[Br...] Posted February 7 Author Share Posted February 7 Thank you for the suggestion! Any other ideas of how I could make this happen? Link to comment Share on other sites More sharing options...
[Mi...] Posted February 7 Share Posted February 7 (edited) Did you try: DATC="" // no reference or DATC="FeatureName" // reference element dummy="DATC" and in the position charateristic you put compute(dummy): Edited February 7 Link to comment Share on other sites More sharing options...
[DW...] Posted February 7 Share Posted February 7 Please sign in to view this quote. I don't have PCM, can you use "null"? Link to comment Share on other sites More sharing options...
[No...] Posted February 7 Share Posted February 7 The problem might be that Calypso thinks there is "something" in that field because it still points to a formula/variable (yellow background). But an empty variable is not necessarily the same as an empty field, since both may be processed on different "levels". Link to comment Share on other sites More sharing options...
[Je...] Posted February 7 Share Posted February 7 Try where you lack a datum reference, use the tolerated feature in place. Now this will have different impacts on characteristic based DRF vs secondary alignment DRF Link to comment Share on other sites More sharing options...
[Mi...] Posted February 7 Share Posted February 7 Please sign in to view this quote. Forget the post above! It doesn't work! The following worked at least in simulation: DATC="" // no reference //--------------------------------------- // if you have a reference element dummy="FeatureName" DATC="dummy" //--------------------------------------- in characteristic insert compute(DATC) per formula: Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in