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:

Result Button


kathy
 Share

Recommended Posts

  • Replies 72
  • Created
  • Last Reply

Top Posters In This Topic

Roger Martin,

The ALLResult C-Hook does not always seem to work the same as the Xform Result button in the Select All dialog box. For example, select an entity and then the Xform Translate function. Copy the entity to a new position and click Apply to be able to select more entities to Translate. If you use the Xform Result function in the Select All dialog box and End Selection you are back in the Translate dialog box. But if you use the ALLResult function the Translate dialog box closes and you are left with selected entities. Please let me know if I am using this C-Hook the wrong way with Xform Translate.

Link to comment
Share on other sites

Steve,

 

It is nothing that you are doing wrong.

Since AllResult is a separate function you are executing, the current active function, if any (XFORM is this case) will be terminated.

So what you are seeing is expected.

But...

Since what AllResult does is so simple, there is a way to tell the system not to end the active function when it is run.

 

In the AllResult.FT file, add the INLINE -->

 

FUNCTION CPP "SelectResult"

CALL_FUNC "m_main"

PARAM 1

SBMP 18014

LBMP 18015

TIP 1

INLINE

END_FUNCTION

Link to comment
Share on other sites

quote:

Should "INLINE" be the default, if the Xform Result button in the Select All dialog box works this way?

Does not matter if "that's the way the Select All dialog works".

It's "How do you want the AllResult C-Hook command to work?" that is important.

If you like the INLINE behavior, great. If not, don't put it into the FT.

Link to comment
Share on other sites

Steve,

 

You're Correct.

The description I had above about how it works with/without the INLINE option should be documented in the AllResult.TXT file.

 

****

Note that AllResult C-Hook is just a one-off that I did on my own.

I saw Kathy's request/question and thought - "I bet I can do somethig for that". headscratch.gif

It is not and there are no plans for it to be will not be part of the official X release.

Read: You will not find it on the install.

Link to comment
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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