Hi All,
I'm using AsdkHlrApi since a while to compute hidden lines on autocad entities and custom entities. For custom entities, I manuall extract embedded native entities before sending them to hlr engine, I've found this morning that a protocol extension class is provided along with the hlr api: AsdkHiddenLineBase. It seems this class purpose is to allow custom entities that embedds acis bodies participate to hlr api but I would need clues on how to implement this protocol extension.
Any help would be appreciated.
Thank you
Solved! Go to Solution.
Solved by cyrille. Go to Solution.
This is the documentation and sample I wrote on that Class back in 2001 when I originally wrote HLR
class AsdkHiddenLineBase
This class should be used by third party developer, who want to provide support of the HLR engine for their custom entity if the default implementation provided by HLR is not accurate. This is an abstract class, and you must derived from it.
Overridables : prepare, getBody
Note that the sample project files might need to be remade as I haven;t touch them for a long time, but the code should be ok still.
cheers
cyrille
Thank you Cyrille for this very complete answer, I really appreciate you took some time to search in your old code!
Can't find what you're looking for? Ask the community or share your knowledge.