|
![]() |
#1 |
Senior Member
Professional user
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
|
![]()
how do i get a List of ACEdges from a single surface?
Code:
List *edgelist_get_by_surface(List *someList, Surface *theSurface); im not sure how to use it, cause theres two List*. Code:
List *MyEdgeList = edgelist_get_by_surface(NULL, MySurface); //??? Code:
List *MyEdgeList = NULL; edgelist_get_by_surface(MyEdgeList, MySurface); //??? |
![]() |
![]() |
![]() |
#2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
That function operates on an edgelist and returns all edges that reference a given surface.
You can create a list of edges from an object with: Code:
Prototype List *ac_object_get_edges(ACObject *ob) Code:
Prototype List *ac_selection_get_edges(Boolean wholesurfaces) Code:
Prototype void ac_edgelist_free(List **e) |
![]() |
![]() |
![]() |
#3 |
Senior Member
Professional user
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
|
![]()
yes i know of those commands.
what i want is a command to create temporary edge's of a single surface. also: Code:
Prototype List *ac_edgelist_get_by_surface(List *e, Surface *s); |
![]() |
![]() |
![]() |
#4 |
Senior Member
Professional user
Join Date: Jun 2003
Location: British Columbia, Canada
Posts: 255
|
![]()
Use the edge list generated by the functions Andy mentioned as the parameter to the function you originally wanted to call.
-- Jeff |
![]() |
![]() |
![]() |
#5 |
Senior Member
Professional user
Join Date: Nov 2003
Location: Eugene OR, USA
Posts: 212
|
![]()
ahhhh thanx.
|
![]() |
![]() |
![]() |
|
|