Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
Thanks Pogo.
That helps.
How do you find out how many operations there are?
So I can loop through all the operation.
Have you ever used class _Group_List
What would you use to assign group info to a
_Group_List type variable?
Thanks again.
How do you find out which machine/toolpath group is selected? How do you know which group is connected to which machine group?
To get group names I've tried.
I = Mastercam.Groups.GetGroupCount
Dim Groupnames(I) As String
Dim GroupNumber(I) As Int32
J = 0
K = 0
'Some group number maybe nothing as group was deleted. So loop through until you get as many group names a group.count
Do
J += 1
Tstr = Mastercam.Groups.GetGroupNameFromNumber(J)
If Tstr <> "" Then
'Got a real name, keep it
K += 1
Groupnames(K) = Tstr
GroupNumber(K) = J
End If
Loop Until (I = K)
this doens't tell me which group is selected or belown to which machine group. Help!
How do you pass input arguments into Mastercam.vbs?
In other scripts I might use
dim Args
dim I
I=wscript.arguments.count
Args=wscript.arguments(0)
How could I do a similar thing in Mastercam?
Hi, New to MastercamX. Infact this Boeing NC Programming group is pretty new to Mastercam.
Looking for samples, documentation on how to write chooks using Visual Studio.net. Especially VB.net. Documentation from dealer is pretty limited.
Thanks for any help in advance.
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.