Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Action Macro: Line by Point Range Errors Out

Echosolace
Enthusiast

Action Macro: Line by Point Range Errors Out

Echosolace
Enthusiast
Enthusiast

Hi,

 

I've recognized the need for macros in my process and I am having trouble with using them with the line by point range command. 

 

I've stripped the command down to 3 points to try and identify what the problem is but still no dice. I record, type line, press enter, followed by 'pn, enter, type in the points, either 1-3 or individually, press enter, then double escape, then finalize the macro. 

When I run it, this is what happens:

Echosolace_0-1644820163830.png

I have added Pause for User Input for every item in the macro and it hasn't changed the outcome a bit. 

 

The idea I am pursing is to have a macro set up a property boundary line. So far I've gotten my macro to create new layers and import points, but drawing between those points via the macro is where I am having trouble. Any help would be greatly appreciated! Thanks!

 

0 Likes
Reply
Accepted solutions (1)
319 Views
4 Replies
Replies (4)

Echosolace
Enthusiast
Enthusiast

Anyone understand my plight?

0 Likes

Jeff_M
Consultant
Consultant

It looks line the Action recorder does not like the 'PN transparent command. Probably because it calls another hidden command in the background.

Jeff_M, also a frequent Swamper
EESignature
0 Likes

Echosolace
Enthusiast
Enthusiast

I guess I should just accept this as a software limitation then? Any advice?

0 Likes

Jeff_M
Consultant
Consultant
Accepted solution

What you are trying to accomplish with the recorded macro could likely be done with lisp or a .NET custom tool. I've found that trying to use the Action Recorder with C3D command and objects usually is an exercise in futility.

Jeff_M, also a frequent Swamper
EESignature
0 Likes