Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- Creo (Previous to May 2018)
- :
- Additional Creo Questions
- :
- Persistent tag for Vertex

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2006
09:06 AM

08-21-2006
09:06 AM

Persistent tag for Vertex

Hi,

Can we have unique identification for Vertex in ProE like we have Persistent Id for ProEdge / ProSurface etc?

What is the work around if we want to have a unique set of vertices obtained from a list of Edges which share common vertices?

Thanks in advance,

Regards,

Pradnya

Can we have unique identification for Vertex in ProE like we have Persistent Id for ProEdge / ProSurface etc?

What is the work around if we want to have a unique set of vertices obtained from a list of Edges which share common vertices?

Thanks in advance,

Regards,

Pradnya

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2006
09:26 AM

08-21-2006
09:26 AM

RE: Persistent tag for Vertex

Pradnya,

Are you trying to compile an array of uniqe vertices? In other words if

you had a rectangle with edges A, B, C, D and vertices 1, 2, 3, 4. When

you visit edges and vertices you would get an array like this:

(1, 2), (2, 3), (3, 4), (4, 1)

And you want:

1, 2, 3, 4

Is this correct?

If so then you just have to do it programmatically. Pro/TOOLKIT does

not contain a function that will give you a unique set of vertices.

Patrick Williams

Sr. Application Engineer

Steelcase Inc.

Are you trying to compile an array of uniqe vertices? In other words if

you had a rectangle with edges A, B, C, D and vertices 1, 2, 3, 4. When

you visit edges and vertices you would get an array like this:

(1, 2), (2, 3), (3, 4), (4, 1)

And you want:

1, 2, 3, 4

Is this correct?

If so then you just have to do it programmatically. Pro/TOOLKIT does

not contain a function that will give you a unique set of vertices.

Patrick Williams

Sr. Application Engineer

Steelcase Inc.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2006
10:44 AM

08-21-2006
10:44 AM

RE: Persistent tag for Vertex

Pradnya,

It depends on what you are looking for.

1. If your program wants the endpoints then call this function

twice with t=0 and t=1:

a. ProEdgeXyzdataEval(edge, 0, xyzPoint, deriv1, deriv2,

dir);

b. ProEdgeXyzdataEval(edge, 1, xyzPoint, deriv1, deriv2,

dir);

2. If your program wants the points on the edge according to t then

you need to call ProEdgeXyzdataEval from t=0 to t=1.0. Each iteration

through the loop will increment t by some factor. You have to determine

the factor yourself in the program.

For more information on this look in the API Wizard under User's

Guide->Geometry->Evaluating Geometry->Evaluating Faces, Edges, and

Curves. Basically you are asking Pro what the point is at t=n for the

specified edge. You can pass null for the derivatives and direction if

you are not interested in them.

Patrick Williams

Sr. Application Engineer

Steelcase Inc.

It depends on what you are looking for.

1. If your program wants the endpoints then call this function

twice with t=0 and t=1:

a. ProEdgeXyzdataEval(edge, 0, xyzPoint, deriv1, deriv2,

dir);

b. ProEdgeXyzdataEval(edge, 1, xyzPoint, deriv1, deriv2,

dir);

2. If your program wants the points on the edge according to t then

you need to call ProEdgeXyzdataEval from t=0 to t=1.0. Each iteration

through the loop will increment t by some factor. You have to determine

the factor yourself in the program.

For more information on this look in the API Wizard under User's

Guide->Geometry->Evaluating Geometry->Evaluating Faces, Edges, and

Curves. Basically you are asking Pro what the point is at t=n for the

specified edge. You can pass null for the derivatives and direction if

you are not interested in them.

Patrick Williams

Sr. Application Engineer

Steelcase Inc.

Top Tags

- ptcuser_portal
- creo_system_administrat…
- creo_machining_proengin…
- creo_simulate_proengine…
- creo_customization_proe…
- creo_view_visualization
- creo_schematics_routed_…
- creo
- cocreate
- creo_automation
- analysis
- mechanica
- modeling
- animation
- simulation
- 3d
- advanced_mechanica
- creo2.0
- promechanica
- rendering
- renderings
- results
- cad
- challenge
- constraint
- creo-parametric
- gpost
- key frame sequence
- manufacturing
- mechanism