Thank you for your suggestion!
Not too bad for the first C# shot.
This works perfectly fine!
Only thing one copying the code above must verify is the naming of the primary body "PartBody" and the geometrical set "Geometrical Set.1" which can vary.
Still think it's crazy that we require 50...
Thank you for your response.
I would like to obtain the edges only of one certain face.
For instance, here, this face in question is selected randomly by search:
Selection selection = ((INFITF.Application)Marshal.GetActiveObject("Catia.Application")).ActiveDocument.Selection...
In the meantime, I found a solution for CAA - seems like an overkill to me, though...
Would be glad if anyone has a solution. The problem seems quite simple - Just get all Edges of a Face... Catia is truely special ;)
// pPathElement1 is the path on the face at hand
// CATIPrtPart_var...
thread560-350640
anyone having the solution still in mind for this problem:
I have a face, for which I would like to obtain all edges.
ActiveCatiaDocument.Selection.Add(_native_face);
ActiveCatiaDocument.Selection.Search("Type=Topology.Edge,sel");
delivers 0 elements in selection...
Hi again, just in case someone else stumbles over the same issue... I found a quite ugly solution to this problem...
after the dimension (pmi) is created, I select it and just call a "StartCommand" with the text from the context menu - this seems to work.. but I'm quite sure that this is very...
Hi everyone,
I would like to create a macro for Catia V5 (FTA) which creates ordinate dimensions for all holes. As a start, I would like to create a simple linear dimension between two holes that are not in line (vertically and horizontally). As depicted in the image (red), the linear dimension...