The entity Pms3dPoly is an Autocad object created to meet the needs of surveyors.
The characteristics of this entity assimilated to a polyline, are to have for each of the tops:
POLYLINE MODIFY(Command:pms_PMOD)See also: input;keyboard; Pms3dPoly Overview
Polyline MODIFY
POLYLINE MOVEMENT KEYS
See also: polyline entry
EndGo to the last vertex of the polyline + GO mode;
F_Left : Vertex Precedent ;
F_Right : Vertex Next + GO mode;
SHIFT Left Way mode (if already in GO mode)
BackSpace eliminates the previous vertex = Undo
In Way mode on closed contour:
F_Bottom Reverse the direction (Input or Way);
Delete Deletes the selected vertex or section
POLYLINE INVERSION(Command:pms_PINV)See also : Modifying a PMS3DPOLY
Reverse the direction of a sitig_poly
POLYLINE CONTINUATION(Command:pms_PSUIT or pms_PRACORD)
pms_suit completes the reference polyline. Depending on whether you select it towards the beginning or the end, the continuation is done at the beginning or at the end.
pms_RACCORDCreates a new polyline, perfectly hooked to the reference polyline.
See also : Modifying a PMS3DPOLY
Tracking a polyline
SCONVERT ENTITIES PMS3DPOLY <>AUTOCAD (command: pms_PCONVERT)
This command allows you to convert Autocad entities to PMS3DPOLY and vice versa.
PMS3DPOLY to Autocad entities
: Pms3dPoly being generally richer than Autocad entities, you risk
losing information. In all cases you lose the mapping of the entity.
Three modes exist :
- PMS3DPOLY >> LWPOLY : In this mode you lose the altitudes of the points and the heights.
- PMS3DPOLY >> 3DPOLY (POLYLINE) : In this mode we lose the thicknesses and the ARCS.
- Automatic >> Choose LWPOLY if all the Z points are identical to within 0.0001 meter Otherwise
generate 3DPOLY .
The 3DPOLY are not packaged. They occupy much more space than LWPOLY or PMS3DPOLY
On these 3 Modes, it is possible to add Options :
Option 'H' : Take into account the HATCHs. Thanks to this option, the associative "HATCH" hashes are createdOption 'T'
: Take into account the Tefs. With this option, the PMS3DPOLY are exploded at each TEF change. The color declared by the "PMS_SetTefColor" function is taken into account.
Other ways to generate AUTOCAD entities are
:- The save --.DWG V12 .
- The Decompose Function .
- The PROXY entities
Entering PMS3DPOLY ENTITIES according to a template (command: pms_PAS)
We refer to a particular entity to start the entry according to the same model
Height and width assignment (command: pms_PLH)
Hatching generation
It is possible to Hatch closed surfaces. This
XDATA "*H=" can be entered when entering or modifying the PMS3DPOLY by using the option "XD "
Holes can be managed by the TEF 2/0 = Inner slope at each change of the associated closed contour.
The XDATA "*H=" should look like this
:*H=D!NOMHATCH[,c=Color][,l=Layer][,t=Typeline][,s=Scale][,a=Angle],[d=Hatch distance] :
- D! for User Defined; P! for Predefined; C! for Custom
- The Color, Layer... options are optional.
- Please note that the capitalization of 'c' is not 'C' for Color,etc....
Generation of wrapping by inserting regular symbols (INSERT)
It is possible to place symbols (INSERT) regularly on the polyline.
This XDATA "*I="
can be entered when entering or modifying PMS3DPOLYs with the option "XD "
Hole concepts can be managed by the TEF 2/0 = Inner slope at each change of the associated closed contour.
The XDATA "*I=" should look like this
:*I=INSERT_NAME[,c=Color][,l=Layer][,t=Typeline][,s=Scale][,a=Angle][,f=First Distance][,d=Distance Repeat][,x=Offset X][,y=Offset Y][,o=Options] :
- The parameters of color, Layer... are optional.
- Please note that the capitalization of 'c' is not 'C' for Color,etc....
Parameters:
- c=Color Index
- s=Scale : Scale of the Symbol. s=l' means Scale = LineTypeScale of the polyline.
If 's=2' is placed before the parameters 'x=,y=,d=,f=' then this scale of '2' is applied to the values of 'x=,y=,d=,f='.
- x=Offset x: X offset of symbol displacement relative to the line. actual offset = offset * current scale.
- y=Offset y: Y offset of the symbol displacement with respect to the line. actual offset = offset * current scale.
- f=first_dist : distance of the first symbol. f' means FIRST (* current scale)
- d=dist : symbol repetition distance (* current scale)
- a=rotation: rotation of the symbol
- t=TypeLigne : to impose a line type on this symbol (line decomposition)
- l=Layer : to impose a snap to this symbol (line decomposition)
- o=[M][P] : Option M to put a symbol in the middle of the segments, Option 'P' to put a symbol on all the vertices of the PMS3DPOLY
It is possible to put several sets of symbols by separating them with a '|'.
Example: *I=BLOC1,c=4,s=l,f=2,d=10|BLOC2,c=1,s=l,f=7,d=10
Modification of the Normal vector of the PMS3DPOLY (command : pms_P3DSPACE)
As a rule, we work in top view and this vector is not defined.
In the case of seizure of facades of building or objects in very inclined planes the
Pms3dPoly takes a normal perpendicular to the current UCS during the seizure of the first summit.
Thanks to this function pms_P3DSPACE, you can change this normal.
PMS3DPOLY Altitude Processing (command: pms_PZ)
Processing of PMS3DPOLY's heights.
Eliminates unnecessary PMS3DPOLY arc points (command: pms_EDELPARC)
According to Options: - L: Forces a smoothing on yous unsmoothed Arcs (Code angle to center with no intermediate point).
- A : Eliminates unnecessary "Arcs" hold points from the PMS3DPOLY.
- C : Eliminates unnecessary "Arcs_Circle" hold points from the PMS3DPOLY.
- T : Eliminates unnecessary PMS3DPOLY holding points of any curve.
- D : Eliminates unnecessary PMS3DPOLY holding points of any Segment.
- S : Blocks corners in the center to prevent future smoothing.
An unnecessary point is one that, if eliminated, the deviation between the starting polyline and the final polyline meets the tolerance.
PMS3DPOLY smoothing (command: pms_POLYLISS)
For all current PMS3DPOLY arcs in automatic smoothing mode.
It is also possible to smooth the straight lines
Color according to TEF0 or TEF1 of PMS3DPOLY (command : 'PMS_TEFCOLOR)
Assign or color to the segments according to the TEF0 or TEF1 of the PMS3DPOLY
:1st value (Integer) = '0' for Tefs0(Strong) or '1' for TEF1 (Weak).
2nd value (String) = "1,2,..." = sequence of colors separated by ','. The first value corresponds to the color of TEFx=1=Mask and so on.
When converting to Autocad Polyline2D or Polyline3D, the Colors are stored but Autocad does not display them.
Flag/Drawing options and Proxy for PMS3DPOLY. (command: pms_DRAWFLAG)
Flag/Drawing and Proxy options for PMS3DPOLY.
- +1 Draw Like LWPOLY. The drawing is comparable to LWPOLY but no Z
- +2 Draw Like LWPOLY in 3DVIEW. Same option +1 even in 3D views
- +4 Save PROXY. Saves the Graphic Proxy drawings to the DWG. The DWG has a larger size
- +8 Do not generate a Hatch in the SCREEN display
Flag/Drawing Options and Proxy for PMS3DPOLY. (command: PMS_EXTEND)
This function, like Autocad's (PROLONG=_EXTEND) allows you to extend elements over thresholds.
The special feature of PMS_EXTEND is that, for PMS3DPOLYs, it is less stringent about true 3D intersections and you can choose between the Z of the extension of a PMS3DPOLY and the Z of the threshold.
As with the basic "_EXTEND" function, SHIFT is used to adjust on thresholds.
Autolisp functions to manipulate PMS3DPOLY
- (PMS_ENTGET PMS3D_VENAME)entget Autolisp (Poly head)
- (PMS_VGETPMS3D_VNAME)entget Autolisp on a vertex
- (PMS_ENTMOD (PMS3D_ENAME ...))entmod Autolisp
- (PMS_VMOD (PMS3D_VNAME ...))entmod Autolisp on a vertex
- (PMS_VADD (PMS3D_ENAME ...))Add one or more vectors to a new PMS3DPOLY 10
- (PMS_ENTNEXT PMS3D_VENAME)entnext Autolisp
- (PMS_VNEXT PMS3D_VNAME)entnext Autolisp on a vertex
- (PMS_VBACK PMS3D_VNAME)entback a (previous) vertex
- (PMS_VTAIL PMS3D_ENAME)last vertex of the polyline
- (PMS_VINSERT PMS3D_ENAME [PMS3D_VNAME]insertion of a polyline vertex
- (PMS_SNAP POINT PMS3D_ENAME) nentselp Autolisp
- (PMS_VDEL PMS3D_ENAME) Deleting a Vertex
- (PMS_GetVertexAt PMS3D_ENAME i) entget of the i th Vertex
- (PMS_VertexCount PMS3D_ENAME) Returns the number of Vertex
- (PMS_ToLWPOLY PMS3D_ENAME) Returns a new LWPOLY entity
- (PMS_To3DPOLY [rFlecheMax] PMS3D_ENAME) Returns a new 3DPOLY entity
- (PMS_To3DPOLY [rFlecheMax] PMS3D_ENAME) Returns a new 3DPOLY entity
- (PMS_PCONVERT[rFlecheMax] [OPTIONS] PMS3D_ENAME) Convert a PMS3DPOLY into an Autocad entity (or entities). Example of Options="3HT" or "AHT
- (PMS_FromEntity ENAME): Entite 3Dpoly/LWpoly/SITIGPOLY..PMS3DPOLY
- (PMS_SetTefColor [0 or 1] "1,2,3.."): Assigns or color to the TEF0 or TEF1 segments of PMS3DPOLY. See PMS_TEFCOLOR above.