Trick to Make a One Surface Join Using CATIA Macro

If you’ve ever tried to create a Join surface using HybridShapeAssemble function AddNewJoin you may have noticed that it requires two elements as reference or input:

Function AddNewJoin(Element1 As Reference, Element2 As Reference) As HybridShapeAssemble

But what if you want to make a join from only one surface? Often times you just want to check the tangency or connectivity of a surface or using a Join at the very end of your spec tree is a good way to show what the very last piece of geometry is. This is a trick you can use in order to create a join based on only one surface.

Basically, you input the one surface twice, create the join geometry, then remove one of the inputs. See the CATIA macro code below:

 

2 Comments

Add a Comment

Your email address will not be published. Required fields are marked *