Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX9 Journal code - Select all objects within an area

Status
Not open for further replies.

Kenja824

Automotive
Nov 5, 2014
949
I was trying to record a journal where I would window around some objects and delete them. These objects are always there and in the same place and I wanted to create a button that would automatically delete them. Unfortunately, the recording selects individual objects and not all objects within an area of the drafting sheet.

Is there a code where it would delete all objects within the window from position x260, y67 to x333, y22 ? (these are the two positions I clicked on the screen to find the corners of the rectangled area I want to delete from.

I know I said the objects are always in the same spot but in case they get nudged a tiny bit, I want to just just delete all within an area.


Thank you in advance for any help you can offer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor