Skip to main content
6-Contributor
May 15, 2023
Question

Give a coordinate to select - Mapkey

  • May 15, 2023
  • 9 replies
  • 4409 views

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

24-Ruby III
May 15, 2023

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

tbraxton
22-Sapphire II
May 15, 2023

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.

liz686-ContributorAuthor
6-Contributor
May 25, 2023

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?

 

 

24-Ruby III
May 25, 2023

Hi,

see uploaded video. I hope it helps you somehow.

Chris3
21-Topaz I
May 15, 2023

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

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