CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Annotation

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-18-2024, 04:12 AM
andrea andrea is offline
Registered User
 
Join Date: Sep 2003
Location: italy
Posts: 263
sketch child of the frame

How can I load a sketch via command line that is placed as a child of the frame?

In my case I would like the "logo" sketch to be placed as a child of the "cart_A3" frame

the command line command to load the sketch is:
sd-am-load-sketch
Attached Thumbnails
Click image for larger version

Name:	Immagine 2024-06-18 125946.jpg
Views:	37
Size:	17.0 KB
ID:	2032  
Reply With Quote
  #2  
Old 06-18-2024, 09:31 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 398
Re: sketch child of the frame

Andrea

This response is edited, as I found a much better way of doing it than my original response.

Code:
(sd-am-load-sketch :file_name file_name                   :position position
                   :owner_type :current-frame
                   :owner owner  <- you do not need this if you set the owner_type to :current-frame.
                   :adjust adjustment)
Since
Code:
:current-frame
is set as the
Code:
:owner_type
, you will not need to fill out the
Code:
:owner field
. That is only used if you want the owner to be a specific view or specific sketch.

Adjustment

Code:
:upper_left
:upper_middle
:upper_right
:middle_left
:middle_middle
:middle_right
:lower_left
:lower_middle
:lower_right
Regards
Tom
__________________
Tom Kirkman

Creo Elements/Direct 20.1
Dell Precision 3581
https://www.o-i.com

Last edited by tom kirkman; 06-18-2024 at 09:47 AM.
Reply With Quote
  #3  
Old 06-18-2024, 10:32 PM
andrea andrea is offline
Registered User
 
Join Date: Sep 2003
Location: italy
Posts: 263
Re: sketch child of the frame

thank's
it's good
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:12 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.