Skip to main content
May 15, 2023 8:45 AM UTC
Question

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

May 15, 2023 9:10 AM UTC

@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.

May 15, 2023 2:13 PM UTC

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.

liz68Author
May 25, 2023 9:58 AM UTC

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?

 

 

May 25, 2023 11:35 AM UTC

Hi,

see uploaded video. I hope it helps you somehow.

May 15, 2023 3:11 PM UTC

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

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