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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Give a coordinate to select - Mapkey

liz68
6-Contributor

Give a coordinate to select - Mapkey

Is it possible to define a coordinate/position, so that this point is automatically selected within a sketch using mapkey?

 

My objective is to update a curve (which already works with mapkey) and that curve is used in a sketch to extrude a part. When updating the curve you have to select the new one to replace the reference:

 

liz68_0-1684140034253.png

 To prevent the user from selecting something that should not be selected, I'd like to use the mapkey to select the right curve in the sketch. 

 

I'm using Creo 7

 

Thanks in advance!

 

 

 

9 REPLIES 9
MartinHanak
24-Ruby II
(To:liz68)


@liz68 wrote:

Is it possible to define a coordinate/position, so that this point is automatically selected within a sketch using mapkey?

 

My objective is to update a curve (which already works with mapkey) and that curve is used in a sketch to extrude a part. When updating the curve you have to select the new one to replace the reference:

 

liz68_0-1684140034253.png

 To prevent the user from selecting something that should not be selected, I'd like to use the mapkey to select the right curve in the sketch. 

 

I'm using Creo 7

 

Thanks in advance!

 

 

 


Hi,

I guess requested action cannot be executed via mapkey. Please upload test model (packed in zip file) and record video showing your "action" ... maybe it helps other users to understand your "situation" and provide some advice.


Martin Hanák
tbraxton
21-Topaz II
(To:liz68)

A mapkey can record a mouse selection in the graphics window. I do not see this a viable solution for your scenario.

 

Have you considered using feature names or other selection filter with the find tool to implement the selection criteria? This can work and should be robust.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
liz68
6-Contributor
(To:tbraxton)

Hi tbraxton, 

thanks for your reply.

 

Unfortunately, I cannot use the "Search tool" when I have a sketch open -> this option is not available:

liz68_0-1685008681799.png

how can I know the feature name of a curve inside a sketch?

 

 

MartinHanak
24-Ruby II
(To:liz68)

Hi,

see uploaded video. I hope it helps you somehow.


Martin Hanák
liz68
6-Contributor
(To:MartinHanak)

Hello Martin,

 

thanks for your video!

 

I managed to record a video of my "actions". Unfortunately, the software I used does not show the mouse pointer. So I used the Ctrl key to show where I click.


When I try to find the curve with the "search tool" (as you showed in your video), there are only three options to choose from: 3D curve, edge and axis (see image below) and under "3D Curve" the imported curve will not be found.

liz68_0-1685025716363.png

 

In the sketch I used "Project" to create the curve from the imported one. Therefore I need to update the reference, when I have a new curve.

 

I hope this brings more understanding regarding my problem and thanks in advance for the help!

MartinHanak
24-Ruby II
(To:liz68)


@liz68 wrote:

Hello Martin,

 

thanks for your video!

 

I managed to record a video of my "actions". Unfortunately, the software I used does not show the mouse pointer. So I used the Ctrl key to show where I click.


When I try to find the curve with the "search tool" (as you showed in your video), there are only three options to choose from: 3D curve, edge and axis (see image below) and under "3D Curve" the imported curve will not be found.

liz68_0-1685025716363.png

 

In the sketch I used "Project" to create the curve from the imported one. Therefore I need to update the reference, when I have a new curve.

 

I hope this brings more understanding regarding my problem and thanks in advance for the help!


Hi,

I am not able to reproduce your problem. I think I need your ibl files.

I uploaded video and my data. Modification of ibl file is transfered into Sketch feature automatically.

 


Martin Hanák
liz68
6-Contributor
(To:MartinHanak)

Hi,

thanks for the files.

You're rigth! it works with a triangle or a quadrangle.

But if you do the same with a circle, you'll be able to reproduce my problem.

 

Here is the curve that I used:

 

open
arclength

begin section
begin curve
0 100 0
50 86.60 0
86.60 50 0
100 0 0
begin section
begin curve
100 0 0
86.60 -50 0
50 -86.60 0
0 -100 0
begin section
begin curve
0 -100 0
-50 -86.60 0
-86.60 -50 0
-100 0 0
begin section
begin curve
-100 0 0
-86.60 50 0
-50 86.60 0
0 100 0

 

Cheers

MartinHanak
24-Ruby II
(To:liz68)

Hi,

I give up. I have no other idea. Automation is probably not possible. Manual work remains...


Martin Hanák
Chris3
21-Topaz I
(To:liz68)

Sounds to me like what you really want is a User Defined Feature (UDF)

https://www.youtube.com/watch?v=uhczG7mcpZE 

Top Tags