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

automated import

  • Thread starter Thread starter ivolotto
  • Start date Start date

ivolotto

Guest
Hello everyone
I'm new to the forum.
I would need to apply to a button the import function of rhino.
pressing the button this should import a default template that is located in a given folder. practically a button pointing to a library.
I think it's a simple script but as I'm a goat in scripting and vb I ask for your help.
Thank you.
 
Hello everyone
I'm new to the forum.
I would need to apply to a button the import function of rhino.
pressing the button this should import a default template that is located in a given folder. practically a button pointing to a library.
I think it's a simple script but as I'm a goat in scripting and vb I ask for your help.
Thank you.
Enter the Script below, in a button.

a click on the button automatically opens the "import" window directly into a folder defined by the "path" variable.

[Bleep] [Bleep]
!

dim route

path="c:\documents and settings\administrator\documenti\downloads"
rhino.command "_import "& route &" _enter"

end
main
)
 
I take this thread to ask for help.
I would like to create 2 buttons with 2 scripts:
button 1 (script 1):
-import the file in step format to a certain folder;
button 2 (script 2):
-export the iges file to the same folder.

Thank you very much to those who will help me.
 
you need to create the keys with the structure as indicated below

-import (directory):\(book name)\_(filename) enter

-export (directory):\(book name)\_(filename).iges enter

of course the files must always have the same path.
 
Thanks, I tried, made several attempts and it doesn't work. in default it opens *.3dm, I would like to set to step so to list files with the stp extension.
Thanks again.
 
I misunderstood what you wanted to do.if I'm not mistaken you would like to "see" all the steps present and choose which to open.
I haven't tried yet, but I don't think we can. They're shaking us up and I see what I can do.
 

Forum statistics

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

Members online

No members online now.
Back
Top