Hi,
I am trying to create a symbol instance with OnEntity option.I could not able to get the at the desired location on which i slected as entity.In my application i slected entity as a drawing dimension.
ProError ProDtlattachAlloc(ProDtlattachType type,ProView view,ProVector location,ProSelection attach_point,ProDtlattach *attachment);
Purpose: Allocate and initialize the memory for a detail attachment.
User must release the memory by ProDtlattachFree.
Input Arguments:
type&n bsp; - The attachment type (FREE or PARAMETRIC).
view&n bsp; - The view. Use only if the attachment type is set to
PRO_DTLATTACHTYPE_FREE, to make an attachment relative
to a drawing view. Use NULL to attach to a point unconnected
to a drawing view.
location - The attachment location, in screen coordinates. Use if
the attachment type is set to PRO_DTLATTACHTYPE_FREE.
attach_point - The attachment point. Use if the attachment type is
PRO_DTLATTACHTYPE_PARAMETRIC. The drawing view and attachment
point must be specified as a part of this structure created
using ProSelect(), or by using ProSelectionAlloc ()
plus ProSelectionViewSet() and ProSelectionPoint3dSet().
Output Arguments:
attachment - The detail attachment.
As per the above Pro-Toolkit API, if i select the dimesion as ProSelection object,how do i specify the location of the symbol instance to place.
It is working for the FREE type of attach,where as if i take PARAMETRIC option i had a difficluty to place a symbol.
With regards,
Kishore V
I am trying to create a symbol instance with OnEntity option.I could not able to get the at the desired location on which i slected as entity.In my application i slected entity as a drawing dimension.
ProError ProDtlattachAlloc(ProDtlattachType type,ProView view,ProVector location,ProSelection attach_point,ProDtlattach *attachment);
Purpose: Allocate and initialize the memory for a detail attachment.
User must release the memory by ProDtlattachFree.
Input Arguments:
type&n bsp; - The attachment type (FREE or PARAMETRIC).
view&n bsp; - The view. Use only if the attachment type is set to
PRO_DTLATTACHTYPE_FREE, to make an attachment relative
to a drawing view. Use NULL to attach to a point unconnected
to a drawing view.
location - The attachment location, in screen coordinates. Use if
the attachment type is set to PRO_DTLATTACHTYPE_FREE.
attach_point - The attachment point. Use if the attachment type is
PRO_DTLATTACHTYPE_PARAMETRIC. The drawing view and attachment
point must be specified as a part of this structure created
using ProSelect(), or by using ProSelectionAlloc ()
plus ProSelectionViewSet() and ProSelectionPoint3dSet().
Output Arguments:
attachment - The detail attachment.
As per the above Pro-Toolkit API, if i select the dimesion as ProSelection object,how do i specify the location of the symbol instance to place.
It is working for the FREE type of attach,where as if i take PARAMETRIC option i had a difficluty to place a symbol.
With regards,
Kishore V