Message 1 of 6
		
			
				
					
						
							ssgetRolloverFilter
						
					
					
				
			
		
	
			
	
	
	
	
	
 
					
				
		
			Not applicable
		
			
    
	
		
		
		02-13-2014
	
		
		03:22 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
    - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I have a custom entity where I want the subentities to behave more or less like objects of their own. Don't ask me why, I'm maintaining old code...
I have derived a class from AcEdSSGetFilter3 and overridden ssgetRolloverFilter. I can make it work, sort of, by using:
void CSubEntSelFilter::ssgetRolloverFilter(const AcDbFullSubentPath& subEntityPath, AcDbFullSubentPathArray& highlightPaths)
{
  if (subEntityPath == AcDbFullSubentPath())
    return;
  highlightPaths[0].subentId().setType(AcDb::kVertexSubentType);
  highlightPaths[0].subentId().setIndex(2);
}With this, the subentity 2 will always be highlighted no matter what part of my custom entity the mouse rolls over.
Very well, but how do I find out which subentity the mouse is over at this moment? The only solution I see is to create an input point monitor and store the gsMarkers that are sent into the gsSelectionMark parameter.
Or am I missing some subentityselect function that is called _before_ ssgetRolloverFilter?
 
		
			 
					
				
		
 
		
			 
 