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:

SetEntityFromEptr___ Not really????


Recommended Posts

Does anyone knows how to use this SetEntityFromEptr function. I can get the eptr, what ever eptr means. And Masetrcam says it is 64807088.... But but when it comes to setting back active again, it doesnt happen...

This is the only way I found to flip through my objects in the drawing. Can Anyone help? If there are any other ideas I am open....

CAN

Link to comment
Share on other sites

Sorry for my sloppy explanation

 

Writing the selected objects in an array and writing a For Each obj In Objects ...Next kind of a loop.

 

This is where I am right now...Hopefully not on the very wrong track. And after all this I will be putting this reds array to a geometry tab in Operations manager

 

For i=0 To 500 Step 1

 

If i=0 Then

RewindChains()

Else

MoveToNextChain()

End If

 

color = GetEntityColor()

 

If color = 13 Then

eptr = GetEntityEptr()

Redim Preserve reds(count)

reds(count) = eptr

End If

Next

Link to comment
Share on other sites

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