Highlighted

How to get an item selected Direct Selection Tools.

New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

Hi.

How to get an item selected Direct Selection Tool.

sel = doc.selection - gets the whole element, but only the selected part is needed.

 

app.selection[0].selectedPathPoints

 

is a collection of selected points in a selected path.  This is probably the closest thing to the Direct Selection Tool. 

 

 

TOPICS
Scripting

Views

79

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to get an item selected Direct Selection Tools.

New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

Hi.

How to get an item selected Direct Selection Tool.

sel = doc.selection - gets the whole element, but only the selected part is needed.

 

app.selection[0].selectedPathPoints

 

is a collection of selected points in a selected path.  This is probably the closest thing to the Direct Selection Tool. 

 

 

TOPICS
Scripting

Views

80

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 20, 2020 0
Engaged ,
Aug 20, 2020

Copy link to clipboard

Copied

 

app.selection[0].selectedPathPoints

 

is a collection of selected points in a selected path.  This is probably the closest thing to the Direct Selection Tool. 

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 20, 2020 0
New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

Thanks for the help.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 20, 2020 0