Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4125

Using Vectorize plugin with rs.Command

$
0
0

Hi there! I am trying to script a button that imports in real scale a picture and after that uses the complete path to call Vectorize plugin, the goal is in one clic have the image and vectors:

rs.Command("_-Picture " + file + " x 0", False)
rs.Command("_-Vectorize " + file)

The plugin seems to be delayed by few milliseconds, but I am not able to put after file (complete path) an _Enter because it cancels the process.

Is it possible to wait after the vectorize process finishes in order to send an _Enter command or it should be pressed manually by the user?

I appreciate your answer!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4125