cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

CATIA VB.Net.edit axisSystem

priyankamakke
2-Guest

CATIA VB.Net.edit axisSystem

I'm trying to reverse the zip direction of an axis system in CATIA, using VB.Net.

I tried the following :

Public Const catAxisSystemAxisOppositeDirection As MECMOD.CATAxisSystemAxisType = 2
`Public Const catAxisSystemAxisOppositeDirection As MECMOD.CATAxisSystemAxisType = 2

Dim axisSystems1 = selection1.Item(1).Value 
axisSystems1.Name = "Screw hole direction." & Num_hole    
axisSystems1.ZAxisDirection = catAxisSystemAxisOppositeDirection

With this it occurs an error. I tried the same in the VB6 editor inside Catia and it works. In VB.Net it doesn't.

I also tried to create a new axisSystem and I wasn't successful. I don't know what to do

2 REPLIES 2

Hi priyankamakke,

 

I'm unclear if this is related to PTC training. You may want to ask your question to the MindMajix support staff you've linked in your question.

 

Apologies I cannot be of more help.

 

Thanks,

Ryan

You need to contact with the technical support service, here: https://mindmajix.com/contact

Announcements

Top Tags