Jump to content

Welcome to eMastercam

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:

RubenIAM

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

RubenIAM's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. It works perfect!!!! var set = assembly.SetAsDefaultAssembly(false); ... success = TlGeometryImportExport.ImportProfileFromFile(nuevoholder, folder + file); Thank you very much!
  2. Hi, Im trying to import .stp file as holder custom geometry. Im using ToolNetApi.dll and this is some of my code: miTlib.OpenLibrary(Operadores.rutaPortas + @"\Master3DTool.tooldb",true); List<TlAssembly> ListaMontajes = new List<TlAssembly>(); miTlib.GetAllTlAssemblies(ListaMontajes); TlHolder nuevoholder = new TlHolder(); ListaMontajes[0].Name = "XXXXXX"; nuevoholder = ListaMontajes[0].MainHolder; nuevoholder.Name = "KKKKKKK69990000"; nuevoholder.GeometryFile = @"D:\Escritorio\83-PORTA.stp"; ListaMontajes[0].MainHolder = nuevoholder; miTlib.DeleteAll(); miTlib.Add(ListaMontajes[0]); miTlib.UpdateLibrary(); OperationsManager.ToolLibraryName = miTlib.GetLibraryPath(); However, the holder loads its custom name and stp geometry, but in Mastercam it still represents the original default holder. Can someone help me? Thank you very much. 83-PORTA.stp

Join us!

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.

Follow us

×
×
  • Create New...