Jump to content

Script to select objects only works as a Copy and Paste


Recommended Posts

I wrote a simple script that selects an object based off its coordinates.

Layout

set

Layout1

Select

38.3989,2.7334,0

38.40124,1.03461,0

39.31814,1.4625,0

 

It works just fine when I simply copy the script and paste it into the command line. However when I run it as a script it asks me to specify opposite corner.

 

A follow up question is after that I have copyclip:

39.31814,1.4625,0

copyclip

Layout

set

layout2

pasteclip

37.80374,1.97425,0

 

However the dialog to select objects doesn't end. I have tried spaces and indents but it wont move on to copyclip.

 

 

Any help would be greatly appreciated!

Link to comment
Share on other sites

You need to read up on W CP WP F window, crossing-polygon, within-polygon, fence, you have 3 xyz need only 2

 

Select W 38.3989,2.7334 38.40124,1.03461

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...