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:

Sps82zgz

Verified Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

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

Sps82zgz's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hello group I ask you for help to see how I can carry out a need that I have and that, to this day, I cannot implement in my VBS script. My problem is the following: having drawn and selected a line, I can't modify its end point. I change the value of the point, but then when I run the script I don't see the change reflected and the line continues to have the same initial length. Is it possible to do this in a VBS? If so, any ideas or examples that you can provide me? Thanks in advance, regards Sergio
  2. Hello, I have a vbscript file and I’m trying to select all entities having a specific colour, but I can’t find a function in vbscript catalog to do that. Can anyone help me? Is it possible to do within a vbs file, I mean, without using a chook file? Thanks in advance
  3. iI'm sorry, I'm not a reseller and I can't access
  4. Hello everybody. I hope somebody could help me :). I have a vbscript that merges files into a new one (the one I save with SaveMCAs) and when I want to open it with the OpenMC function within the same script at the end of it, it doesn't open it for me. However, if I open it manually I have no problems and the content is what I have mounted inside my script with the importFile and MergeMC. Any ideas on how I can open the file from within the script? Thanks in advance.
  5. Hello everybody. I am creating a VBS file (in the X4 version) to be able to export geometry to DXF and automatically select the entities to export, I created a .mask file to filter through and select all / only what I need and it works perfectly, but I don't know If it is possible to use that .mask file (filter) within the VBS programming and if possible I do not know the command that I have to use in the VBS programming. In the same way, in case of not being possible and having to make the selection through orders, I would like to know if it is possible to make the selection through different criteria together at the same time, such as Entities (Lines and arcs), color of the entities, levels or even the name of the level. Thanks in advance
  6. Thanks guys for your help, and for wasting your appreciate time answering my question. I have created my needed VB script, basing it on what you told me here, changing my original idea. Finally, I convert the toolpath from post off to post on, because it was very difficult for me to choose only the operations to change. Below I’m going to share my script, so that anybody can use it if needed. '//////////////////////////////////////////////////////////////////////////////// ' -- Start Script Call Main() Sub Main() Dim intOpCount, idx ' -- COGEMOS TODAS LAS OPERACIONES QUE TENEMOS intOpCount = GetOperationCount(vbNullString) ' -- MARCAMOS POST OFF AQUELLAS OPERACIONES QUE ESTÁN POST ON Dim success For idx = 1 To intOpCount success=SetOperationPostingFromID(vbNullString, idx, False) Next RunPostAll "", 1 End Sub '//////////////////////////////////////////////////////////////////////////////// Thanks again.
  7. Hi everybody, I’m working with X4 and creating a vbs file script. I’m wondering if it’s possible to select operations from the toolpaths and post them off using vbscript? I mean: I want to select some operations and automatically (using the vbs script) post them off (as if I were using toggle posting button). Thanks

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...