Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create work points from cloud of sketch points

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
666 Views, 9 Replies

Create work points from cloud of sketch points

Hi!

I would like to create work points from 3000 sketch points in a 3d sketch. The points are created from raw-data from an excel-file. Is there som way I can create these points without doing it manually?

best regards
Joakim
9 REPLIES 9
Message 2 of 10
ralfwalter
in reply to: Anonymous

Hello,

At this time there is not a means through the command UI to accomplish this. However - the Inventor API offers a rich set of tools to accomplish tasks similar to this.

Regards,

Ralf Walter (Autodesk)


Ralf Walter

Principal Engineer
Message 3 of 10
Anonymous
in reply to: Anonymous

If you are still on 32 bit Inventor, my Inventor Tools addin will
read excel files directly into workpoints. You can get it at:

http://www.mcadforums.com/forums/viewtopic.php?t=1942

and register for a 30 day free trial. Or maybe I could offer to sell
you the source code as a macro?

Bob S.

ralfwalter wrote:
> Hello,
>
> At this time there is not a means through the command UI to accomplish this. However - the Inventor API offers a rich set of tools to accomplish tasks similar to this.
>
> Regards,
>
> Ralf Walter (Autodesk)
Message 4 of 10
Anonymous
in reply to: Anonymous

The Import Points command should do what you want. It's available when you
have a 3D sketch active. The attachment shows the command in Inventor 2009.
--
Brian Ekins
Autodesk Inventor API Product Designer
http://blogs.autodesk.com/modthemachine
Message 5 of 10
Anonymous
in reply to: Anonymous

Brian,

That command ONLY creates either center points OR sketch points, not
WORK points as the OP asked for (see subject line).

Bob S.

Brian Ekins (Autodesk) wrote:
> The Import Points command should do what you want. It's available when you
> have a 3D sketch active. The attachment shows the command in Inventor 2009.
>
>
> ------------------------------------------------------------------------
>
Message 6 of 10
Anonymous
in reply to: Anonymous

I am about to try the add-in suggested earlier but have run into some compatibility issues. I do not think they should post any major problems and will report back as soon as I have tried it out.
Thanks alot for all the help.

best regards
Joakim
Message 7 of 10
Anonymous
in reply to: Anonymous

Joakim,

I sent you an email. Apparently IV2010 has alot of compatibility
issues with changes to the object model used in previous versions,
even on 32 bit (64 bit is NOT supported yet). Not sure when I'll
get time to fix the code for IV2010, so hopefully you might still
have a 32 bit version of IV2009 loaded somewhere?

Bob

joakim@jeppsson.se wrote:
> I am about to try the add-in suggested earlier but have run into some compatibility issues. I do not think they should post any major problems and will report back as soon as I have tried it out.
> Thanks alot for all the help.
>
> best regards
> Joakim
Message 8 of 10
Anonymous
in reply to: Anonymous

Bob,

I would be interested in learning why your older program is not working in
Inventor 2010. Older programs should continue to work, with very few
exceptions.

Joakim,

I wrote a small VBA macro to import coordinates from an Excel sheet and
create work points. The spreadsheet is the same format as that used by the
Import Points command. I did limited test but it seems to work ok. One
limitation is that it doesn't create the work points in a 3D sketch. That's
a current limitation of the API. You can only create them at the top level.

The attached file contains the VBA source code. Just copy and paste it into
a VBA module and run the CreateWorkPointsFromExcel macro.
--
Brian Ekins
Autodesk Inventor API Product Designer
http://blogs.autodesk.com/modthemachine
Message 9 of 10
Anonymous
in reply to: Anonymous

Brian,

I haven't had time to look into it yet. It might possibly be a Vista
issue it seems? I use a 3rd party licensing solution that MIGHT
have issues. According to Joakim, it crashes IV2010 when the function
to display the registration info is called. There might be some
TypeName "IRx" issues in it too, but it's been a long time since I've
looked at it.

Bob

Brian Ekins (Autodesk) wrote:
> Bob,
>
> I would be interested in learning why your older program is not working in
> Inventor 2010. Older programs should continue to work, with very few
> exceptions.
>
> Joakim,
>
> I wrote a small VBA macro to import coordinates from an Excel sheet and
> create work points. The spreadsheet is the same format as that used by the
> Import Points command. I did limited test but it seems to work ok. One
> limitation is that it doesn't create the work points in a 3D sketch. That's
> a current limitation of the API. You can only create them at the top level.
>
> The attached file contains the VBA source code. Just copy and paste it into
> a VBA module and run the CreateWorkPointsFromExcel macro.
>
Message 10 of 10
Qube-it
in reply to: Anonymous

Bob,

Could you shoot me an e-mail. I'd be interested in this add-in so that I can work with points gathered with a Total Station. bhallATqubeitdesignDOTcom. Thanks!

Brian Hall
-Brian Hall-

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report