Place Adaptive component by points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to place a very simple adaptive component that has two adaptive points.
I managed to load the family and place and instance into the project. The problem is that this approach doesn't allow me to pick the desired points in the project. I want to be able to place the family by picking two points in 3D. I know that the pickpoint method only works in the current workplane and I know that there are workarounds to set first the workplane. However, I want a simple approach where the user just picks two points in 3D.
One solution that I was thinking is to use the postcommand method, and use the command place component (I would place a temporary instance first so the component is the desired one). However, after placing the component I want to retrieve information about the location of this family and the postcommand approach wouldn't allow me to do this...(I think).
Probably I could use an event as a trigger to capture that information but I think it is too complicated.
Can you think of a simpler approach?
Many thanks in advance.