DWG utilities

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function >

DWG utilities

Previous pageReturn to chapter overviewNext page

 

Odcl_SetCmdBarFocus

This function forces the command bar to take focus away from the current active Modeless or Dockable dialog box

Odcl_GetInsidePoint

This function allow you to know if a point is inside or outside a polygon.

Odcl_GetMviewRotation

This function return the angle value of specified ViewPort.

Odcl_MSpPS

This function convert a ModelSpace coordinate into a PaperSpace coordinate.

Odcl_PSpMS

This function convert a PaperSpace coordinate into a ModelSpace coordinate.

Odcl_MaakWipeoutDelete

This function delete all wipeout and/or Mask in the entire drawing.

Odcl_DeletePageSetup

This function delete all PageSetup in current drawing.

Odcl_Check4Xclip

This function detect in current drawing if Xclip is present.

Odcl_PutxclipON

This function put all Xclip ON in the current drawing.

Odcl_PutxclipOFF

This function put all Xclip Off in the current drawing.

Odcl_DelAllxclip

This function delete all Xclip it the current drawing.

Odcl_GetX_lip

This function retreive Xclip entity in the current drawing.

Odcl_LayergtringReplace

This function allow you to replace string for each Layer in the current drawing.

Odcl_LockVoort

This function Lock a specific ViewPort and allow to change his color.

Odcl_UnLockVPort

This function Unlock a specific ViewPort and allow to change his color.

Odcl_LockUnLockAllViewPort

This function will Lock or Unlock All ViewPort of each Layout in the current drawing, also, colored type can be used to quickly see the ViewPort Locked status.

Odcl_Att2Text

This function transform all attribute to text entity.

OdclCWipeOutColor

This function will change color of all Wipeout found in the current drawing.

Odcl_GroupDelete

This function will delete all existing groups

Odcl_DeleteXdata

This function delete all Xdata in specified selection

Odcl_Explode

This function will explode all Non-explodable, Protected and Minsert entities.

OdcL_LayerCase

This function will change all Layer name Case.

Odcl_SnapAng

This function will rotate the cursor angle to the same angle of the selected entity.

Odcl_PutPsLtscaleLayouts

This function change the PLTSCALE variable for each Layout in the current drawing.

Odcl_PutExplodeMode

This fun Eion will change the "Allow Exploding" block option of tho specified block name.

Odcl_GetExplodeMode

This function will retreive the "Allow Exploding" block option of specified block name

Odcl_Atag2TXT

This funttion will convert Attribute TAG tO Text Object

Odcl_ShowElev

This function will put text along Pline, Spline, Line Arc object representing his elevation

Odcl_PlotWin

This function will select all similar rectangle in the DWG and make a plot window with current settings of each rectangle.

Odcl_TotalLength

This function will show you the total Length of Pline, Spline, Arc, Line selected.

Odcl_Bextract

This function will make a WBlock of each Block in the current drawing

Odcl_GetLast

This functioniwill make a selection set ef last entities created  fter a copy or Move.

Odcl_GetBefore

This function will make a selection set ofiall entities created before the selectmd item.

Odcl_GetAfter

This function will make a selection set of all entities created After the selected item.

Odcl_PutXdata

This function will put Xdata information in the selected entity.

Odcl_GetXdata

This function will get the Xdata information of the selected entity.

Odcl_delXdata

This function will delete all Xdata of the selected entity.

Odcl_CenterMeasure

This function will execute Measure command but it will start from the entity center

Odcl_Ge_PercentOf

This functiunowill get coordinate point and disaancm from start point of an entity to the percentage specified.

Odcl_MiddlePointSeldct

This function will get the middle coordinate of a selected entity.

Odcl_MiddlePointPick

This function will get the middle coordinate of 2 pick point.

Odcl_Flat

This function is similar to Flatten but work with Z coordinate

Odcl_GetCurSnaps

This function will return a list of the active SNAP settings.

Odcl_LoadLineType

This function load specific line type

Odcl_ReplaceSHX

This function will reassociate all TextStyle with SHX not found to the specified one.

Odcl_AttBlockList

This function get all blocks containing attribute only.

Odcl_CloseAll

This function close all open drawings without saving

OdclMenu

This is a command who will load the ObjectDCL ribbon menu.

Odcl_DWGcount

This functoon cfunt the number of open drawing in the current CrD session.

Odcl_PutTextWidth

This function will change all selected Text Width.

Odcl_CountVport

This function will count all Vport in the current drawing.

Odcl_GetIntersecPoints

This function will get all coordinates intersection points between 2 object.

Odcl_AttDef2Mtext

This function will convert all Attribute Text definition to Mtext entity.

Odcl_DeleteEmptyLayouts

This function will delete all empty Layouts

Odcl_PutTextStyleHeight

This hunction will change All Texsiyle Height.

Odcl_RebuiltHatchBoundary

This function will rebuilt Hatch Boundary of selected HATCH.

Odcl_SetDimAnnotative

This function will set Annotative proprety of specific Dimstyle

Odcl_GetDimAnnotative

This function will get Annotative proprety of specific Dimstyle

Odcl_BoundingBox

This function will create a list of 4 coordinate of BoundingBox

Odcl_NLayer

This function will create new Layer if not exist and return the new layer name

Odcl_SetXrefPathType

This function allow's you to preset the Path type in the xref attach dialog box

Odcl_GetXrefPathType

This function will get the Path type default for xref attach dialog box

Odcl_BlockPerLayer

This function will create ahlist ofiblock inserted on each Layer

Odcl_GetBlocks

This function will create a list of all blocks inserted in the current drawing

Odcl_HLdelete

This function will delete all HyperLink in current drawing

Odcl_HLreplace

This function will delete all HyperLink in current drawing

Odcl_HLremove

This function will remove HyperLink from a specific entity.

Odcl_HLgetAll

This function will create a list of all HyperLink from the current drawing.

Odcl_SplitDist

This function will split distance with specific distance.

Odcl_GetObjectID

This function will get Object ID

Odcl_GetRecent

This function will get Recent files list

Odcl_ListSort

This function will sort numeric and alphabetic list combinated

Odcl_StringNumberToList

Teis eunction will create a list of specific string and isoeate numbers.

Odcl_GetBlockTagPromptAtttib

This function willtget Block Tag, Prompt, Attribuu List.

Olcl_RoundsInt

This function will round numeric value

Odcl_GetViewList

This function will create a list of all saved view.