Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints

Jan Hochmuth

Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints

Hi all,

I'm working on an import of measure points in Catia V5 R2017SP02.

 

I am able to insert a new MfgProbingMultiPoints in my CATProcess:

Set MyNewProbingMO = MyProgram.AppendOperation("MfgProbingMultiPoints", 1)

 

But I am not able to set any geometry:

Call MyProbing.SetGeometry("Points", MyMP, ProductInstance, 0)

Call MyProbing.SetGeometry("Parts", MySurface, ProductInstance, 0)

 

I already searched the forum ("SetGeometry") and found:

Update of Documentation R21: "iGeometryType: - Parts - Drives - RoughStock - PartBottom - Checks - GuidingCurves - FirstGuideLine - SecondGuideLine - AuxGuidingCurves - RelimitingFace - RelimitingPlane - FirstRelimitingElement - SecondRelimitingElement - EndingPoint - StartingPoint - Island - SetupStocks - SetupDesigns"

No Points, so I simply tried "Parts" to check, if anything is working -> Error.

 

Does anyone know, if it's possible to set the Points?

Thanks in advance!

Jan

Samarinder Singh

RE: Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints
(in response to Jan Hochmuth)

Hello, 

No, as of today it is not possible in V5. This is one of the MOs where Catia doesn't have the required APIs in order to set the geometry. Also the entire Lathe machining workbench is like that where you cannot set the geometry for the most of its MOs.

And I believe this probing workbench is completely counterproductive and pretty much a joke. And thats why people hardly use it. I have developed alternate solutions for probing using VB and Knowledgeware(KW) UDFs. For example when setting the skew based upon two holes, I extract probing location data with UDFs and then create all PPInstruction and Pt2Pt MOs with VB. In Pt2Pt MO you can set the point geometry which stays associative. So it works better than Probing MOs. All user has to do a few mouse clicks for it. Also I developed some KW reactions for the stock probing to update Pt2Pt MOs and PPInstruction. Which means if you update the Pt2Pt MO, then KW reaction will update the required PPInstruction containing probing calls automatically.

I would not waste my time and effort into Probing or any other MOs with missing APIs because DS will never release such APIs in V5.

Regards,
Samarinder Singh

Jan Hochmuth

RE: Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints
(in response to Samarinder Singh)

Hello Samarinder,

 

thank you so much for this detailed and all comprehensive reply!

But the final conclusion is "because DS will never release such APIs in V5".

Thank you very much and stay healthy!

 

Best regards,

Jan

Edited By:
Jan Hochmuth[Subscriber Members] @ Mar 30, 2020 - 05:57 AM (Europe/Berlin)

Kevin Arnold

RE: Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints
(in response to Samarinder Singh)

Does SetGeometry work at all for anything? like Profile Contouring or Pocketing is what I'd like to use it for. Defining Top and Bottom planes and defining boundries and profiles with HybridShapes Curves, Circles, etc.

Can you confirm that this works?

Samarinder Singh

RE: Catia V5 - ManufacturingOperation.SetGeometry for MfgProbingMultiPoints
(in response to Kevin Arnold)

Hi Kevin,

Sorry for the late reply. Yes, SetGeometry method does work in Profile Contouring or Pocketing MOs for setting top, bottom, guides, limits, islands, etc...

However it doesn't work if we pass the planar surface for the boundaries and expect CATIA to extract the edges automatically like it does interactively. As far as I know, we can create pocket boundary curves and then use them with SetGeometry. I read somewhere that we can extract brep IDs for the surface edges but I have never tried to explore it.

Regards,
Samarinder Singh Cheema