fcalin21
Mechanical
- Dec 18, 2020
- 5
Hi !
Can someone tell me how to retreive the relation collection of an object ?
I have this code (only the relevant code posted) and the relation.count is 0 but in the image attached we can see 1 relation.
Set Relatii = oPiesa_De_Modificat.Part.Relations.SubList(oHole(i), True)
The relation does not show on the part collection relations either.
Set Relatii = oPiesa_De_Modificat.Part.Relations ' Relatii.count=0
I want to remove this relation without using selection method. How do i do this ?
Thanks.
Can someone tell me how to retreive the relation collection of an object ?
I have this code (only the relevant code posted) and the relation.count is 0 but in the image attached we can see 1 relation.
Set Relatii = oPiesa_De_Modificat.Part.Relations.SubList(oHole(i), True)
The relation does not show on the part collection relations either.
Set Relatii = oPiesa_De_Modificat.Part.Relations ' Relatii.count=0
I want to remove this relation without using selection method. How do i do this ?
Thanks.