- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Array of edges
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-09-2010 10:47 PM
How do I create an array of edge?
I want to use the below function to make a wire body but I do not know how to write code about initializing array of edge (edges[]).
Somebody please help, it is an easy question...
function:
outcome api_make_ewires(..., EDGES* edges[],... )
Re: Array of edges
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-12-2010 07:52 AM
Hello Thomas,
The best way to get sample codes is to look at the scheme implementation. We provide the source code for the acis3dt.exe sample in the scm folder. Here are the steps to get to the scheme implementation
1) Find the scheme extension by searching the docs http://doc.spatial.com/index.php/Special:Search?se
2) One of the results will include a link to the scheme extension- in this case http://doc.spatial.com/index.php/SchemeExt:Map_Sch
3) If you scan this result you see that the scheme extension is wire-body:group http://doc.spatial.com/index.php/SchemeExt:Wire-bo
4) Open the above page and you will a FileName
Filename
scm/scmext/cstr/wire_scm.cpp
5) Append this file name with the location of your ACIS installation (in my case it is c:\acisr20...so for me it is C:\acisR20\scm\scmext\cstr\wire_scm.cpp
6) Open this file and find api_make_ewires and you will see how to use the same.
I hope this helps.
Regards,
Yogesh
Re: Array of edges
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-14-2010 11:49 PM
Dear Yogesh,
Thank you very much.... It is very useful...
by the way, where can I get more details about get_Scm_Position, get_Scm_Real and etc in the scmext? What I'm looking for is how do I correctly write out the code.
Re: Array of edges
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-01-2010 11:03 PM
Dear!
Hope you have solved your query. In my opinion you can get more details on hxxp://doc.spatial.com/qref/ACIS/html/group__SCMAP
Use "t" instead of' "x".

