CN106371821A - Method for performing frame selection of entity by using closed graph - Google Patents

Method for performing frame selection of entity by using closed graph Download PDF

Info

Publication number
CN106371821A
CN106371821A CN201610700434.1A CN201610700434A CN106371821A CN 106371821 A CN106371821 A CN 106371821A CN 201610700434 A CN201610700434 A CN 201610700434A CN 106371821 A CN106371821 A CN 106371821A
Authority
CN
China
Prior art keywords
entity
line
section
carries out
cad
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610700434.1A
Other languages
Chinese (zh)
Inventor
谢庆丰
石孟阳
庄奎乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KELEAD PHOTOELECTRIC MATERIALS CO Ltd SHENZHEN
Original Assignee
KELEAD PHOTOELECTRIC MATERIALS CO Ltd SHENZHEN
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KELEAD PHOTOELECTRIC MATERIALS CO Ltd SHENZHEN filed Critical KELEAD PHOTOELECTRIC MATERIALS CO Ltd SHENZHEN
Priority to CN201610700434.1A priority Critical patent/CN106371821A/en
Publication of CN106371821A publication Critical patent/CN106371821A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method for performing frame selection of an entity by using a closed graph. The method is characterized by comprising the following steps of S1, selecting a closed polyline in a CAD drawing program; S2, extracting an object with a contour in the polyline; and S3, moving the object to a new layer. According to the method, the problem of reduced working efficiency of object selection is solved, and the problems of time waste, high error rate and high missing rate due to manual selection by users are avoided, so that the effect of improving the working efficiency is achieved.

Description

A kind of use closed figure carries out the method that frame selects entity
Technical field
The present invention relates to graph processing technique field, more particularly, to a kind of use closed figure carries out the side that frame selects entity Method.
Background technology
With the continuous development of information technology, cad graphics system software has become as drawing personnel or designers not The drafting instrument that can lack.Due to the lifting of scientific and technological level, the capacity expansion of storage device, designer is often in a cad A lot of entities are drawn in drawing.So huge and intensive entity sets, is selecting single or part to cad system operators A very big difficult problem is brought during entity.The intensive of entity is so that user chooses the probability of target entity to reduce.
Generally, the entity of cad figure can be processed by the control instruction in cad system, control instruction can To include pruning entity orders, skew entity orders, entity chamfering order, mirror image entity orders and array entity orders etc..
At present in cad graphics process, it is more to run into object, very tired when wanting to pick out certain partial objects Difficult.
Further, since during entity selection, user cannot foresee that control instruction is final to preselected entity Treatment effect, therefore, after user can only be processed to the entity of selection by control instruction, just can know that the reality of selection Whether body meets needs.If be unsatisfactory for, that proves that selection is wrong, and user must execute the order of rollback on cad, and entity is extensive State to before command process re-starts selection again, causes to repeat to select often, so virtually to cause much not Necessary work, leads to work efficiency drop.
Content of the invention
The technical problem to be solved in the present invention is: provides a kind of use closed figure to carry out the method that frame selects entity, energy Enough select the entity of a closing, internal to internal for the entity or entity object being intersected with entity is picked out.
In order to solve the above problems, the invention provides a kind of use closed figure carries out the method that frame selects entity, it is special Levy and be, the method comprising the steps of:
S1, choose the multi-section-line of closing in cad mapping program;
S2, extraction object within multi-section-line for the profile;
S3, described object is moved to new layer.
In this specific embodiment, described step 1, particularly as follows: when running into font, first Font processing is become multi-section-line, is led to Cross modified line order and described Font processing is become multi-section-line.
In this specific embodiment, described object includes character layer.
In this specific embodiment, comprise the steps: in described s2
S21, in cad system, using feature function xyp_lib order provide interface obtain multi-section-line summit Collection;
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.
In this specific embodiment, run in described s2 multiple closings multi-section-line when, also include following method:
S21, the xyp-get-curvedivptlst function calling in cad, choose the peripheral vertex set of multi-section-line;
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.
In this specific embodiment, in s21, described vertex set includes the coordinate on some summits.
In this specific embodiment, the method for described s2 also includes:
S21, in cad system, using ap order load evp.lsp order;
S22, operation evp order;
S23, selection selection mode.
In this specific embodiment, described selection mode, including inframe object is selected and inframe and with frame intersected object Selected.
In this specific embodiment, in s3, new layer can be moved selected objects into by carriage return order.
The invention has the benefit that present invention reduces selecting the work efficiency problem of object, it is to avoid user passes through Select by hand, the problem of time-consuming and fallibility leakiness, and then reached the effect improving work efficiency.
Brief description
Fig. 1 carries out, for a kind of use closed figure that the present invention provides, the flow chart of steps that frame selects entity;
Fig. 2 carries out, for a kind of use closed figure that the present invention provides, the flow chart of steps that frame selects entity;
Fig. 3 carries out, for a kind of use closed figure that the present invention provides, the flow chart of steps that frame selects entity;
Fig. 4 for the present invention provide another kind of extract profile in multi-section-line within object flow chart of steps.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become apparent from, below in conjunction with drawings and Examples, to this Bright it is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and without In the restriction present invention.
Refer to Fig. 1 and Fig. 2, a kind of use closed figure carries out the method that frame selects entity, comprises the following steps:
S1, choose the multi-section-line of closing in cad mapping program;Step 1 particularly as follows: when running into font, first by font It is processed into multi-section-line, described Font processing is become by multi-section-line by modified line order.
S2, extraction object within multi-section-line for the profile, object includes character layer.
Specifically, comprise the steps: in s2
S21, in cad system, using feature function xyp_lib order provide interface obtain multi-section-line summit Collection, vertex set includes the coordinate on some summits.
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.Selection mode, including inframe object is selected and inframe and intersect with frame right
S3, described object is moved to new layer.Specifically, can be moved selected objects into newly by carriage return order Layer.
Referring again to Fig. 3, Fig. 3 carries out, using closed figure, the method that frame selects entity for the another kind that the present invention provides, bag Include following steps:
S1, choose the multi-section-line of closing in cad mapping program;Step 1 particularly as follows: when running into font, first by font It is processed into multi-section-line, described Font processing is become by multi-section-line by modified line order.
S2, extraction object within multi-section-line for the profile, object includes character layer.
Specifically, when running into the multi-section-line of multiple closings in s2, comprise the steps:
S21, the xyp-get-curvedivptlst function calling in cad, choose the peripheral vertex set of multi-section-line;
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.Selection mode, including inframe object is selected and inframe and intersect with frame right
S3, described object is moved to new layer.Specifically, can be moved selected objects into newly by carriage return order Layer.
Referring again to Fig. 4, a kind of use closed figure that the also non-present invention of Fig. 4 provides carries out the method that frame selects entity, bag Include following steps:
S1, choose the multi-section-line of closing in cad mapping program;Step 1 particularly as follows: when running into font, first by font It is processed into multi-section-line, described Font processing is become by multi-section-line by modified line order.
S2, extraction object within multi-section-line for the profile, object includes character layer.
Specifically, the method for s2 also comprises the steps:
S21, in cad system, using ap order load evp.lsp order;
S22, operation evp order;
S23, selection selection mode.Selection mode, including inframe object is selected and inframe and intersect with frame right
S3, described object is moved to new layer.Specifically, can be moved selected objects into newly by carriage return order Layer.
Present invention reduces select the work efficiency problem of object, it is to avoid user pass through manual select, time-consuming and fallibility The problem of leakiness, and then reached the effect improving work efficiency.
It is understood that for the person of ordinary skill of the art, can be done with technology according to the present invention design Go out other various corresponding change and deformation, and all these change all should belong to the protection model of the claims in the present invention with deformation Enclose.

Claims (9)

1. a kind of use closed figure carries out frame and selects the method for entity it is characterised in that the method comprising the steps of:
S1, choose the multi-section-line of closing in cad mapping program;
S2, extraction object within multi-section-line for the profile;
S3, described object is moved to new layer.
2. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that in described step Described Font processing, particularly as follows: when running into font, first Font processing is become multi-section-line, is become multi-section-line by modified line order by 1.
3. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that described object bag Include character layer.
4. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that in described s2 Comprise the steps:
S21, in cad system, using feature function xyp_lib order provide interface obtain multi-section-line vertex set;
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.
5. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that in described s2 Run into multiple closings multi-section-line when, also include following method:
S21, the xyp-get-curvedivptlst function calling in cad, choose the peripheral vertex set of multi-section-line;
S22, the face override command wp utilizing in cad, carry out object choice according to vertex set;
S23, selection selection mode.
6. carrying out frame using closed figure and select the method for entity it is characterised in that in s21 according to claim 4 or 5 In, described vertex set includes the coordinate on some summits.
7. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that described s2's Method also includes:
S21, in cad system, using ap order load evp.lsp order;
S22, operation evp order;
S23, selection selection mode.
8. according to any one of claim 1-7 using closed figure carry out frame select entity method it is characterised in that Described selection mode, including inframe object is selected and inframe and selected with frame intersected object.
9. use closed figure according to claim 1 carries out frame and selects the method for entity it is characterised in that in s3, can New layer is moved selected objects into by carriage return order.
CN201610700434.1A 2016-08-22 2016-08-22 Method for performing frame selection of entity by using closed graph Pending CN106371821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610700434.1A CN106371821A (en) 2016-08-22 2016-08-22 Method for performing frame selection of entity by using closed graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610700434.1A CN106371821A (en) 2016-08-22 2016-08-22 Method for performing frame selection of entity by using closed graph

Publications (1)

Publication Number Publication Date
CN106371821A true CN106371821A (en) 2017-02-01

Family

ID=57879502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610700434.1A Pending CN106371821A (en) 2016-08-22 2016-08-22 Method for performing frame selection of entity by using closed graph

Country Status (1)

Country Link
CN (1) CN106371821A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489775A (en) * 2019-06-28 2019-11-22 中国水电顾问集团贵阳勘测设计研究院岩土工程有限公司 A kind of cad Object selection method based on existing entity
CN115617237A (en) * 2022-11-21 2023-01-17 成都智元汇信息技术股份有限公司 Advertisement position information display component and method for generating advertisement position information by local identification

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193801A (en) * 2011-05-13 2011-09-21 深圳市科利德光电材料股份有限公司 Method for automatically delaminating fonts and poly-lines in auto CAD (Computer-Aided Design)
CN105718672A (en) * 2016-01-22 2016-06-29 集美大学 CAD target selection method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193801A (en) * 2011-05-13 2011-09-21 深圳市科利德光电材料股份有限公司 Method for automatically delaminating fonts and poly-lines in auto CAD (Computer-Aided Design)
CN105718672A (en) * 2016-01-22 2016-06-29 集美大学 CAD target selection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489775A (en) * 2019-06-28 2019-11-22 中国水电顾问集团贵阳勘测设计研究院岩土工程有限公司 A kind of cad Object selection method based on existing entity
CN115617237A (en) * 2022-11-21 2023-01-17 成都智元汇信息技术股份有限公司 Advertisement position information display component and method for generating advertisement position information by local identification

Similar Documents

Publication Publication Date Title
CN104778712A (en) Method and system for pasting image to human face based on affine transformation
CN102436217B (en) Method for reconstructing web processing drive geometry of slot characteristic of aircraft structure
CN106371821A (en) Method for performing frame selection of entity by using closed graph
CN115793571B (en) Processing equipment control method and system based on multi-mode data and related equipment
CN101776882A (en) Method for generating laser cutting program
CN112100296B (en) GIS system convenient to carry out GIS vector data editing
CN102968539A (en) Method for massively and quickly generating format drawing
CN109145359B (en) Steel structure material preparation method based on BIM system and CAD software
CN111240670A (en) Method and device for quickly and automatically generating software graphical interface
CN102929621B (en) The method for drafting of overlapping object and device
CN106777036A (en) A kind of data rendering method and data render system
CN106371614A (en) Gesture recognition optimizing method and device
CN115294308A (en) Augmented reality auxiliary assembly operation guiding system based on deep learning
CN107945099A (en) A kind of attribute configuration optimization method realized towards OpenGL
CN103164862A (en) Plane computer-aided design (CAD)/ computer-aided manufacturing (CAM) drawing method based on intelligent recognition drawing tool
CN104408267A (en) Finite element modeling method for special-shaped spatial structure
WO2020244214A1 (en) Method and device for generating shape word cloud
CN102073909A (en) Implementation method for high-efficiency semiautomatic artificial intelligence (AI) software
CN101751494A (en) Marginal projection optimization method based on reverse order tree scan line algorithm
CN114139701A (en) Neural network model training method for boundary line extraction and related equipment
CN103309863A (en) Method and device for processing tasks of electronic maps
CN112435319A (en) Two-dimensional animation generating system based on computer processing
CN105155153B (en) The processing method that a kind of computer embroidering machine part style is shown
CN111737820B (en) Cast three-dimensional part model feature editing system and method based on creo software
CN114202704B (en) Man-machine interaction water body semi-automatic extraction method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201

RJ01 Rejection of invention patent application after publication