cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

sketch child of the frame

AR
10-Marble
10-Marble

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

 

 

I' have Creo Elements/Direct Modeling 20.5.1.0

2 REPLIES 2

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
Creo Element\Direct Modeling 20.6.0.0.0
olivierlp
Community Manager
(To:AR)

Hi @AR  ,
I wanted to see if you got the help you needed. If so, please mark the reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

Thanks,

Olivier
Announcements


Top Tags