- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-04-2008 02:28 AM
i am now using ACIS and HOOPS as my developing tools.After building a model with ACIS,the model is rendered by HOOPS.Now the problem is,after a model such as a cuboid is rendered and displayed,how can i select a single face or edge instead of the whole object by mouse clicking and change its rendering attributes and match it with FACE or EDGE entity in ACIS.Thanks for help!
cynthia
Re: How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-17-2008 09:59 PM
Sorry ,dont know it very much ..
Re: How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-18-2008 01:55 AM
Re: How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-12-2008 07:10 PM
First, you should overload HOpSelectAperture class to select a face or an edge. Then make sure that you used HC_Set_Selectability("everything = off, faces =on") before selected a face or an edge.
Finally,use "HBaseView::SetOperator()" function to select a face or an edge.
Re: How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-13-2008 07:57 AM
Thank you very much for your reply.But the problem is how do i overload HOpSelectAperture.
Could you please explain in detail?Thanks again.
Re: How can i select a single face or edge?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-15-2008 03:47 AM
class HOpMySelectAperture : public HOpSelectAperture
2.Then, added the following codes to the responded function.
HC_Open_Segment_By_Key(m_pHSolidView->GetModelKey(
HC_Set_Selectability("everything = off, faces =on");
HC_Set_Visibility("vertices =off,markers=off");
HC_Close_Segment();
HOpMySelectAperture* pOperator = new HOpMySelectAperture(m_pHSolidView,0,1);
m_pHSolidView->SetOperator(pOperator);

