That's not what I'm asking it to do, the memshna is used the same but in diferent conditions. Here are the questions that the command line asks and the answers I put.Command: _-AECSMEMBERSHAPEDEFINE
Shape [New/Copy/Edit/Purge/?]: n
New style name or [?]: 2x12
New style 2x12 created.
Shape definition [Name/Description/Graphics]: G
Shape designation [Low detail/Medium detail/High detail]: L
Select lines, arcs, circles, or polylines for Low Detail: Here I put (entlast) and it returns: 1 found
Select lines, arcs, circles, or polylines for Low Detail: <enter out of command>
Insertion point or [Add entity]:Here is put the defined point 'p2'
Shape designation [Low detail/Medium detail/High detail]: M
Select a closed polyline, spline, ellipse, or circle for an outer ring:Here I put (entlast)
Insertion point or [Add ring/Centroid]:Here is put the defined point 'p2'
Shape designation [Low detail/Medium detail/High detail]: H
Select a closed polyline, spline, ellipse, or circle for an outer ring:Here I put (entlast)
Insertion point or [Add ring/Centroid]:Here is put the defined point 'p2'
Shape designation [Low detail/Medium detail/High detail]: <enter out of command>
Shape definition [Name/Description/Graphics]: <enter out of command>
Shape [New/Copy/Edit/Purge/?]: <enter out of command>
So you see the line of code is just the answers to the above question, and I don't need 'p'