sebast1985
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by sebast1985
-
-
Thanks now I will try to modify the pointstyle of a point.
-
Hi everybody, I want to know if it's possible to create threadmill operation with the net-hook for now I import operation but I can't select point in automatic. I have mastercam X6 and I use Visual studio 2012. Another question how can I change pointstyle in automatic.
Thank you
I'm newbee in net-hook programmation
-
If I remove viewname it's work.
-
-
Because it deosn't work, I want to create new vew but I try this code but Mastercam freeze I every time.
Point3D pt = new Point3D(0, 0, 20); MCView V = new MCView(); V.ViewOrigin = pt; V.ViewName = "View 2"; V.Commit();
-
HI guys, I want to set the view origin of top view I try this code but nothing works Can you help me
Thanks.
Q1: string EpaiT = Interaction.InputBox("Épaisseur de la pièce en pouce", "V2.", "", -1, -1); epai = Convert.ToDouble(EpaiT); //conversion texte a numérique epai = epai * 25.4; //conversion impériale a métrique MCView V = SearchManager.GetSystemView(Mastercam.IO.Types.GraphicsViewType.Top); V.ViewOrigin = new Point3D(0, 0, epai); V.Commit();
-
I'm not sure if is correct
public override Mastercam.App.Types.MCamReturn Run(int param) { string lvlname125 = "072 - BEARING 3.18 HOLE"; int LVL = LevelsManager.GetLevelNumber(lvlname125); if (LVL < 0) { bool rest = LevelsManager.SetLevelName(125, lvlname125); LVL = 125; } { bool res=true; Point3D pt = new Point3D(0, 0, 0); res=SelectionManager.AskForPoint("test",PointMask.EndPoint,ref pt); ArcGeometry cir = new ArcGeometry(0, pt, 1.59, 360, 0); cir.Level = LVL; cir.Color = 75; cir.Commit(); } return MCamReturn.EscapeKeyHit; }
-
I want to change de arc view number on arc but my code doesn't work.
int levell = Mastercam.IO.LevelsManager.GetLevelNumber(lvlnom); { Geometry[] points = SearchManager.GetGeometry(GMASK, smask, levell); System.Collections.ArrayList drillpoints = new System.Collections.ArrayList(); { // Donne les cordonné des points selectioné en x y z foreach (Mastercam.Curves.ArcGeometry geo in points) { geo.ViewNumber = 1; DrillPoint dp = new DrillPoint(geo.Data.CenterPoint); drillpoints.Add(dp); } op.DrillPoints = drillpoints; if (op.Commit()) { if (op.Regenerate()) { return drillpoints.Count; }
-
Thanks work well
-
############################################################################### # NETHook function table ############################################################################### # # Name : Drill-auto.ft # NETHook : Drill-auto.dll # Date : 2014-03 # Author : # Notes : # Language : C# # ############################################################################### ###################### # ASSIGN A UNIQUE NAME ###################### APPLICATION "Drill-auto" ###################### # NETHook LOCATION ###################### # # Create a sub folder FOLDER_NAME below the main CHooks folder. # Update paths below to match your install path and project name. FUNC_DLL "chooks\Drill_auto.dll" RES_DLL "chooks\Drill_auto.dll" CATEGORY "NeTHook" ############################################################################## # Public functions here ############################################################################## # FUNCTION NET "Run" dnSBMP "Run16" dnLBMP "Run24" dnTIP "RunTip" END_FUNCTION # Add another button command FUNCTION NET "RunMsg" dnSBMP "Info16" dnLBMP "Info24" dnTIP "InfoTip" END_FUNCTION # # EOF
I use nethook wizard. When I try to search icon the mastercam sen error message(see attach jpg). Where can I find this file. Thx
Waterline in C++ geo
in Mastercam C-Hook, NET-Hook and VBScript Development
Posted
Hi I need help . I import waterline operation in c++ but I don't find in documentation how I can select machining geometry for this operation.