• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

script for layer selection and design

to exploit the excel and its potential to generate repeating commands
the repetition of commands is not a problem I can do it and create a unique script. the problem is at the end when running editspline I cannot select all the spline of the layer but only once.
 
and put the editspline command immediately after spline execution?
or
create the spline, open it with the note block, select all the text, paste it into the command line?
 
and put the editspline command immediately after spline execution?
or
create the spline, open it with the note block, select all the text, paste it into the command line?
the editspline command is set to select all the layers objects, so it would only work when drawing the first spline. if you copy and paste into the command line, you don't write the text that only works with the script.
I currently copy and paste into the command line to draw circumferences and splines and then write a script for the text.
an alternative to getting rid of the editspline is the use of the tangent but I can't make it work with the script.
 
You don't know what you have to do. and put information to mozzicons.
I go to attempts because the splines never used it so I'm in your own situation
maybe for what you have to do is not suitable the script but it takes a lisp that is much more performing
 
You don't know what you have to do. and put information to mozzicons.
I go to attempts because the splines never used it so I'm in your own situation
maybe for what you have to do is not suitable the script but it takes a lisp that is much more performing
as I wrote in the initial post I have to:
1- Select a layer already created es."linea_1";
2- draw a circumference defining coordinates and radius;
3- select another layer already created e.g.linea_2";
4- draw a spline;
5- Select another layer already created "text";
6- write the text.

These steps (1-6) made for 1 or n times did not change the situation because it became only a loop that was off-tope for this discussion and on which I have no problem.
At first I already drew circumferences, splines and text, but as separate texts that I copied in the command line and a script for the texts.
to be more efficient I wanted to put it all in a script that would also select the layer to use. However, assembling the various pieces have arisen of problems that kindly told me how to solve.
I am not expert in spline, but it is the only command that can correctly represent what I need. by line there are no problems, but with the script they have arisen.
I don't know the potential of the lisp compared to a script.
Thank you for your time.
 
to accept the command line text you must set the texted variable to 1
In this way you should be able to enter the command line script
 
to accept the command line text you must set the texted variable to 1
In this way you should be able to enter the command line script
perfect.
Thank you. for the moment it is also good as a command line.
I got my hand taken and I also made the insertion of the blocks to automate everything.
I'll get you a picture of the result.
thanks again for the support.
 

Attachments

  • Script.webp
    Script.webp
    170.8 KB · Views: 3

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top