[Ri...] Posted April 29 Share Posted April 29 Is PCM capable of changing the Alignment of a feature? If yes, what is the structure? Link to comment Share on other sites More sharing options...
[Mi...] Posted May 21 Share Posted May 21 I don't know about an ordinary pcm command. but this should work: // Name of the feature: featureId ="Plane1" // name of the Coord-system: CoordSysId="Coord.-Test" executeCode("Zeiss.Calypso.WPMeasElementExecute new setLCSToMeasElement: '" + featureId + "' with: '" + CoordSysId + "' move: 0") "move: 0" transforms the geometry nominals (x,y,z value) into the new Coord.-System "move: 1" means no transformation Link to comment Share on other sites More sharing options...
[Ri...] Posted May 31 Author Share Posted May 31 Is there a way to use the above code that finds all instances of a named alignment in all features? Link to comment Share on other sites More sharing options...
[Mi...] Posted June 3 Share Posted June 3 CoordSysId="Coord.-Test" constElements=baseSystem().machine.inspection.nominalPart.constructedGeo.dictionary.values allMeasEl=baseSystem().machine.inspection.allMeasElementNames for i=1 to constElements.size el=getParameterNamed(constElements,i) if el.identifier == CoordSysId then // all me and cf with CoordSysId refs=el.checkReferences endif next i // check for feature for j= 1 to refs.size refEl=getParameterNamed(refs,j) for k=1 to allMeasEl.size if getParameterNamed(allMeasEl,k)==refEl then display(refEl) endif next k next j Link to comment Share on other sites More sharing options...
[Ch...] Posted June 4 Share Posted June 4 Nice one Michael, thank you for all the support here. I would have been surprised if ANYONE at Zeiss would have came up with something this clever. Probably typical canned response "nope, can't be done", etc. Cheers Mate ! 🧑💻 Link to comment Share on other sites More sharing options...
[Je...] Posted June 4 Share Posted June 4 Please sign in to view this quote. Clever method. I am consistently impressed with the clever solutions to unique questions presented in the ZEISS Forum. Thank you for your contribution Michael. This type of support and spread of knowledge is a benefit to all and the intent of the Forum Please sign in to view this quote. Is there something you'd like to discuss? I find this statement to be generally insulting and disrespectful to myself and my colleagues who provide direct support to you and your colleagues on a regular basis. Did you have something you would like to have myself or my team review for you? Link to comment Share on other sites More sharing options...
[Ch...] Posted June 4 Share Posted June 4 Jeff, Certainly no hard feeling to you sir, you've been nothing but helpful here. I actually do have a request in original Req# 8102943763 ; which was cancelled with no response at all. ❓ ❗ I reached out to inquire and told it was a complex PCM/QDAS request and they have sent to Germany. I had a different meeting involving something else a few days later with our RSM, and he says the request came into him; maybe that's where it's supposed to go ? Doesn't seem like it. Anyways yes I apologize for a few of my not so satisfying experiences with Zeiss overall I do still prefer Zeiss over most. 🙂 Thank you again for everyone that helps on the forums as well. 1 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