Skip to main content
21-Topaz II
November 10, 2016
Question

Sketched Points and Layer Rules

  • November 10, 2016
  • 26 replies
  • 8817 views

Creo 2, M230

I'm struggling with managing my sketched points with layers.  My rule based layers did a great job unitl sketched points were moved into the general sketch feature.  It's a welcome change generally, but it has made managing the visibility of points more difficult.

All my sketch features are placed on a 00_CURVE layer including sketches that have no curve entities, only points.  Those sketch features don't end up on  my 00_POINT layer either, however.  There is no option for "has_points" as there is for has_axes".

Has anyone found away to get sketch features with points onto a specific layer and a way to keep sketch features with no curve entities off of the curve layer?

26 replies

Patriot_1776
22-Sapphire II
November 10, 2016

I'm a little confused Doug.  Do you want curves with GEOMETRY (not construction) points on a specific layer, say, "POINTS" (but no other layer, not even "CURVES"), but curves without geometry points on a layer, say, "CURVES"?

21-Topaz II
November 11, 2016

Yes, I'm talking about geometry points in sketches, not construction points.

First and foremost I'd like to get sketches with geometry points on my points layer.  Right now there's no way to capture sketches with geometry points (or coordinate systems either, for that matter.).

Beyond that, I'd love to prevent sketches that are entirely points with no curve geometry from going on the curve layer.

Patriot_1776
22-Sapphire II
November 11, 2016

The layer rules are a little clunky, and you're not really able to do any fancy conditional statements, but maybe I can do something.  I'll see what my layers do with that.  Do you also want curves with points AND geometry NOT to go on the curve layer, only go on the points layer?  Maybe I'll get a chance to play with it today.

Patriot_1776
22-Sapphire II
November 11, 2016

Actually, I think I found exactly what you're looking for Doug.  I think Raphael is close, but if I understand you, I think this will work better:PUT ONLY GEOMETRY POINTS IN CURVES ON A LAYER-01.bmp

This puts ONLY the GEOMETRY points in a datum curve on a layer, not points generated as stand alone points, and does NOT put the curve itself on that layer (in my case, layer:  01_HAS_POINTS).  I'm sure you could also do this for CS's, and you could also probably separate to have ONLY geometry in curves on the curve layer, not the GEOMETRY points or GEOMETRY CS's as well.

Hope this helps!

1-Visitor
November 12, 2016

I have been battling layers for a while. I often have to manually put datums in layers that they should have gone into automatically. I found success using the following in my config.pro...

def_layer layer_axis_ent DATUM_AXIS

def_layer layer_csys_ent DATUM_COORD_SYS

def_layer layer_curve_ent DATUM_CURVES

def_layer layer_datum_point DATUM_POINTS

It looks like PTC fiddled with layers a bit and these new default layers were the result. It may be just my configuration, but I did have to shuttle the old default layers to a layer that I always keep shown...

def_layer layer_axis DEF_LAYER

def_layer layer_csys DEF_LAYER

def_layer layer_curve DEF_LAYER

def_layer layer_point DEF_LAYER

Good Luck,

David

Patriot_1776
22-Sapphire II
November 12, 2016

"default" layers are garbage, don't use them.  Rules-based layers are what should be used.  There's threads here as to why, search for them.

1-Visitor
November 12, 2016

‌One way to keep or exclude sketches with no curve geometry in it is to create a feature parameter and have the layer filter by an Expression under Attributes.

Chris3
21-Topaz I
January 2, 2017

We struggled with this as well. Prior to this change you were able to have a CURVES layer and a POINTS layer with no overlap. Now there is no way to hide a curves layer without hiding any points that are on those curves using rules (at least not that we were able to figure out).

We use these layer rules in our start parts.

Currently we settled on having to unhide both the curves and point layers to turn on all points.

17-Peridot
January 3, 2017

Iam not sure why there is a problem for you. I was able to achieve what is being discussed here (if I understood correctly).

I was able to create layers for curves, datum points and sketched points, all with rules and was able to hide all of these independently without overlap.

Iam using Creo 2.0 M180. see attached snapshots for Datum points and Sketched points.

Let me know if I have missing something form the discussion.

Regards,

Manjunath

Chris3
21-Topaz I
January 3, 2017

Whats your rule for curves? This is the tricky one because it would need to hide any splines that are part of the curve feature but not the sketched points.