Macro's not working - no active document

Hi All,

I cannot get the following macro's to work for me. As I get the same response for both, I think I am doing something wrong, rather than that the macro's are wrong.

I want to import a point cloud in Solidworks Professional (no Scanto3D). I have found two macro's which can do this, Newpointcloud (from Charles Culp) and Gen3DPointCloud (from swtools.cad.de)

With Newpointcloud i get the message 'you must have a part file open to use this feature',

This is what I do:

1. Open Solidworks

2. Start with new part (*)

3. Go to 'Macro', 'Run', browse to newpointcloud.swp

4. enter location of txt file

5. I get the message stated above.

(*)= also with saved parts, in or out sketchmode.

With Gen3DPointCloud i get the message 'no active document'.

So what am I doing wrong?

Kind regards,

Bram.

(ps, also asked the question earlier as a reply in a different thread somewhere else on the forum, but I thought it might be more appropriate to ask it here in API)

SolidworksApi macros