Code: Select all
>>> ActiveSketch.getGeometryWithDependentParameters()
[(0L, 2L), (0L, 0L)]
Any input before I PR it?
Code: Select all
>>> ActiveSketch.getGeometryWithDependentParameters()
[(0L, 2L), (0L, 0L)]
Joel_graff wrote:poke
Hmmm.. I admit I'm not sure, exactly, what that does...
You ask:Joel_graff wrote: ↑Sat Jun 09, 2018 11:58 amHmmm.. I admit I'm not sure, exactly, what that does...
Ahhh. gotcha. Very clear! That looks really useful.abdullah wrote: ↑Sat Jun 09, 2018 2:08 pmYou ask:Joel_graff wrote: ↑Sat Jun 09, 2018 11:58 amHmmm.. I admit I'm not sure, exactly, what that does...
ActiveSketch.getGeometryWithDependentParameters()
You get replied with a list of tuples:
[(0L, 2L), (0L, 0L)]
each element of the list represents an edge or a vertex. The first element of the tuple is the GeoID, the second element of the tuple is the PosID. For example, with the output above the Sketcher is telling you: "The solver detects that the endpoint of the element with GeoID=0 is not fully constraint, so it is "movable", or if you want you need to constraint it, directly or indirectly, if you want to arrive to a fully constraint sketch. The same happens with the Edge of the geometry with GeoID=0. It is basically telling you were your DoFs are.
Is there a documentation page where we can quickly post that tidbit to ?abdullah wrote: ↑Sat Jun 09, 2018 2:08 pm You ask:
ActiveSketch.getGeometryWithDependentParameters()
You get replied with a list of tuples:
[(0L, 2L), (0L, 0L)]
each element of the list represents an edge or a vertex. The first element of the tuple is the GeoID, the second element of the tuple is the PosID. For example, with the output above the Sketcher is telling you: "The solver detects that the endpoint of the element with GeoID=0 is not fully constraint, so it is "movable", or if you want you need to constraint it, directly or indirectly, if you want to arrive to a fully constraint sketch. The same happens with the Edge of the geometry with GeoID=0. It is basically telling you were your DoFs are.
None to my knowledge.Kunda1 wrote: ↑Mon Jun 11, 2018 12:07 amIs there a documentation page where we can quickly post that tidbit to ?abdullah wrote: ↑Sat Jun 09, 2018 2:08 pm You ask:
ActiveSketch.getGeometryWithDependentParameters()
You get replied with a list of tuples:
[(0L, 2L), (0L, 0L)]
each element of the list represents an edge or a vertex. The first element of the tuple is the GeoID, the second element of the tuple is the PosID. For example, with the output above the Sketcher is telling you: "The solver detects that the endpoint of the element with GeoID=0 is not fully constraint, so it is "movable", or if you want you need to constraint it, directly or indirectly, if you want to arrive to a fully constraint sketch. The same happens with the Edge of the geometry with GeoID=0. It is basically telling you were your DoFs are.