CN110516381A - CATIA element term quickly changes method and device - Google Patents

CATIA element term quickly changes method and device Download PDF

Info

Publication number
CN110516381A
CN110516381A CN201910814723.8A CN201910814723A CN110516381A CN 110516381 A CN110516381 A CN 110516381A CN 201910814723 A CN201910814723 A CN 201910814723A CN 110516381 A CN110516381 A CN 110516381A
Authority
CN
China
Prior art keywords
module
input
renames
terminate
title
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.)
Granted
Application number
CN201910814723.8A
Other languages
Chinese (zh)
Other versions
CN110516381B (en
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.)
Wuxi Jinshan Automobile Technology Development Co Ltd
Original Assignee
Wuxi Jinshan Automobile Technology Development Co Ltd
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 Wuxi Jinshan Automobile Technology Development Co Ltd filed Critical Wuxi Jinshan Automobile Technology Development Co Ltd
Priority to CN201910814723.8A priority Critical patent/CN110516381B/en
Publication of CN110516381A publication Critical patent/CN110516381A/en
Application granted granted Critical
Publication of CN110516381B publication Critical patent/CN110516381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention belongs to Industrial Design Software aid in treatment fields, and in particular to a kind of method and device for quickly being changed in CATIA software to element term.Method and device of the invention can quickly change element term in CATIA software and define, for independent to product and element term in CATIA software or mass change, it realizes the number and instance name for quickly changing product in CATIA Product Assembly, the purpose of the change of element term is realized in Element Design.This method and device are based on macros interface in CATIA software, can reduce repetitive work in the operation that renames, be very convenient and practical auxiliary tools.

Description

CATIA element term quickly changes method and device
Technical field
The invention belongs to Industrial Design Software aid in treatment fields, and in particular to one kind is used in CATIA software to member The method and device that plain title is quickly changed.
Background technique
CATIA is the product development flagship solution of French Da Suo company.A weight as PLM collaboration solution Component part is wanted, it can help manufacturer to design their following products by modeling, and support from item current stage, tool The design and analysis of body, the whole industrial design processes simulated, be assembled into being maintained in.
In current product design, title can be automatically generated by generating new element in the operating process of CATIA, if more Change inside attribute need to be entered by changing, and need to be repeated several times by aforesaid operations if having multiple elements to need to carry out name modifications simultaneously Operation operates cumbersome in the extreme.
Summary of the invention
It is an object of the invention to solve existing CATIA software rename operation in cumbersomeness and inconvenience, simplify operation, promoted Efficiency.
As the first aspect of the present invention, it provides a kind of CATIA element term and quickly changes method, comprising:
S1, the active window for obtaining CATIA;
The number of elements in CATIA active window that S2, acquisition previous step select;
S3, judge whether the number of elements obtained is zero, if so, exiting to terminate;If single, turn S4 step carry out it is single A element renames;If multiple, turn S5 step and carry out renaming for multiple elements;
S4, error handle is carried out first, then select the method to rename by the way that whether acquisition occurs mistake, to individual element It renames, completes backed off after random;
S5, it obtains by the element object of selection window, and carries out error handle;
S6, input title foundation;
Whether S7, the content for judging the input of S6 step are blank, if so, exiting to terminate, if non-empty, turn S8 step;
The serial number that S8, input ascending order start;
Whether S9, the content for judging the input of S8 step are blank, if so, exiting to terminate, if non-empty, turn S10 step;
Whether the result that S10, misjudgment are handled is 0, if so, turning S11 step, obtains the Element Design module side of renaming Method;Otherwise, turn S12 step, obtain trim designs module and rename method;
S11, it obtains by the element object of selection window;The method to be renamed by obtaining Element Design module, changes multiple The name of Element Design simulation completes backed off after random to terminate;
S12, it obtains by the element object of selection window;The method to be renamed by obtaining trim designs module, changes multiple The name of trim designs simulation completes backed off after random to terminate.
Preferably, the S4 step includes:
S41 is obtained by the element object of selection window, then is carried out error handle.
S42, if number of errors is not equal to 0;The acquisition Element Design module for turning S43 step renames method;Otherwise, turn S44 The acquisition trim designs module of step renames method.
S43 inputs name set, if input is sky, exits to terminate;Otherwise, element is named with the name set of input Object;
S44 inputs dash number, if input is sky, exits to terminate;Otherwise, it is assembled with the dash number title of input Number;Input term title exits if input is sky to terminate;Otherwise, term name is kept in;With dash number and term name Claim, names element object in the way of term name+dash number.
Preferably, the S11 step includes:
S111 is obtained by the element object of selection window.
S112 is named part in a manner of title basis+serial number, wherein title basis is input initial input , and serial number be on the basis of the initial sequence number of input circular treatment and obtain;It is right also, in above-mentioned circular treatment In doing ten benefits 0 less than 10 and adding 1 processing respectively, is only done respectively for 10 or more plus 1 is handled;I.e. first to currentElement serial number with The value that the sum of initial sequence number subtracts 1 executes different processing modes afterwards compared with 10.
Preferably, the S12 step includes:
S121 is obtained by the element object of selection window.
S122 is named assembly in a manner of title basis+serial number, wherein title basis is input initial input , and serial number be on the basis of the initial sequence number of input circular treatment and obtain;It is right also, in above-mentioned circular treatment In doing ten benefits 0 less than 10 and adding 1 processing respectively, is only done respectively for 10 or more plus 1 is handled;I.e. first to currentElement serial number with The value that the sum of initial sequence number subtracts 1 executes different processing modes afterwards compared with 10.
As a second aspect of the invention, it provides a kind of CATIA element term and quickly changes device, comprising:
Window obtains module, for obtaining the active window of CATIA;
Number of elements obtains module, the number of elements in CATIA active window for obtaining upper module selection;
Element non-zero judgment module, for judging whether the number of elements obtained is zero, if so, exiting to terminate;If Individually, turn first module that renames to carry out individual element and rename;If multiple, turn element object and obtain module to carry out multiple members Element renames;
First renames module, mistake whether occurs selects the side to rename for first carrying out error handle, then by obtaining Method renames to individual element, completes backed off after random;
First element object obtains module, for obtaining by the element object of selection window, and carries out error handle;
First title input module, for receiving input title foundation;
First judgment module, for judging whether the content of S6 step input is blank, if so, exit to terminate, if not Sky turns the second title input module;
Second title input module, the serial number started for receiving input ascending order;
Second judgment module, for judging whether the content of S8 step input is blank, if so, exit to terminate, if not Sky turns S10 step;
Wrong choice judgment module, whether the result for the processing that judges incorrectly is 0, renames module, obtains if so, turning second Element Design module is taken to rename method;Otherwise, turn third to rename module, obtain trim designs module and rename method;
Second renames module, for obtaining by the element object of selection window;It is renamed by obtaining Element Design module Method changes the name of multiple Element Design simulations, completes backed off after random to terminate;
Third renames module, for obtaining by the element object of selection window;It is renamed by obtaining trim designs module Method changes the name of multiple trim designs simulations, completes backed off after random to terminate.
Preferably, described first module that renames includes:
Object acquisition and error handling module for first obtaining by the element object of selection window, then carry out error handle;
False judgment module, for quantity and the corresponding module that renames of selection of judging incorrectly, if number of errors is not equal to 0; Turn the first Element Design to rename module, obtains Element Design module and rename method;Otherwise, turn the first trim designs to rename module, Trim designs module is obtained to rename method;
First Element Design renames module, for renaming to single part design module, name set is inputted, if defeated Enter for sky, exits to terminate;Otherwise, element object is named with the name set of input;
First trim designs rename module, for renaming to single trim designs module, dash number are inputted, if defeated Enter for sky, exits to terminate;Otherwise, with the dash number title assembly number of input;Input term title, if input is sky, It exits to terminate;Otherwise, term name is kept in;With dash number and term name, ordered in the way of term name+dash number Name element object.
Preferably, described second module that renames includes:
Second element object acquisition module, for obtaining by the element object of selection window;
Second Element Design renames module, for renaming to single part design module, with title basis+serial number Mode is named part, wherein title basis is input initial input, and serial number is the base in the initial sequence number of input Circular treatment on plinth and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 to handle respectively, It is only done respectively for 10 or more plus 1 is handled.
Preferably, the third renames, module includes:
Third element object acquisition module, for obtaining by the element object of selection window;
Second trim designs rename module, for renaming to single trim designs module, with title basis+serial number Mode is named assembly, wherein title basis is input initial input, and serial number is the base in the initial sequence number of input Circular treatment on plinth and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 to handle respectively, It is only done respectively for 10 or more plus 1 is handled.
Most preferably, the error handle use value.part name method, with by judge whether occur mistake come Part and assembly are distinguished, and is renamed respectively to the two again.
Method and device of the invention can quickly change element term in CATIA software and define, in CATIA software In to product and element term individually or mass change, realize the number and reality that product is quickly changed in CATIA Product Assembly Example title, realizes the purpose of the change of element term in Element Design.This method and device are based on macros in CATIA software Interface can reduce repetitive work in the operation that renames, and raising efficiency is very convenient and practical auxiliary tool.
Detailed description of the invention
Fig. 1 is method flow schematic diagram of the invention.
Specific embodiment
In order to make those skilled in the art more fully understand the present invention, to be made more to the scope of protection of present invention It clearly limits, with regard to some embodiments of the invention, the present invention will be described in detail below.It should be noted that following The certain specific embodiments for being only present inventive concept are only a part of the embodiments of the present invention, wherein for the tool of dependency structure The direct description of body is only for convenience of the present invention is understood, each specific features are not certain, directly limit implementation of the invention Range.Those skilled in the art made conventional selection and replacement under the guidance of present inventive concept, are regarded as in the present invention In claimed range.
Although operations are described as the processing of sequence by flow chart, many of these operations can by concurrently, Concomitantly or simultaneously implement, the sequence of operations can be rearranged.Processing can be terminated when its operations are completed, It is also possible to have the additional step being not included in attached drawing.Processing can correspond to method, function, regulation, subroutine, son Program etc..
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless Context clearly refers else, otherwise singular used herein above "one", " one " also attempt to include plural number.Also answer When understanding, term " includes " and/or "comprising" used herein above provide stated feature, integer, step, operation, The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit, Component and/or combination thereof.
A kind of CATIA element term quickly changes method, carries out the configuration of running environment first, it is ensured that at CATIA software In operating status, with environment configurations needed for completing this method;It executes according to the following steps again:
S1, the active window for obtaining CATIA software.
The number of elements in CATIA active window that S2, acquisition above-mentioned steps select.
S3, judge whether the number of elements obtained is zero, if so, exiting;If single (i.e. < 2), turn next step (S4), renaming for individual element is carried out;If multiple (being more than or equal to 2), turns lower next step (S5), carry out multiple elements It renames.
S4, error handle is carried out first, then select the method to rename by the way that whether acquisition occurs mistake, to individual element It renames, completes backed off after random;The method to rename includes that Element Design module renames and renames that both change with trim designs module Name method, and be part or the corresponding method that renames of assembly selection according to element.It specifically, often can wrong place in programming Reason, in the method, using this method of value.part name, using can report an error in component module, and then can be with Part and assembly are distinguished by judging whether that mistake occurs, and is renamed (name) to the two respectively again.In practical application, (parameter that Name1, Value1 are definition) can be realized by Name1=Value1.PartNumber.
S5, it obtains by the element object of selection window, and carries out error handle;Value.part name is still used at this time Error handling method, i.e., realized by Panduan=iValue.PartNumber (Panduan, iValue be definition Parameter).
S6, input title foundation.
Whether S7, the title foundation for judging input are blank, if blank, are exited to terminate;If non-empty, turn next Step.
S8, input start serial number.
Whether S9, the beginning serial number for judging input are blank, if blank, are exited to terminate;If non-empty, turn in next step Suddenly.
Whether the result that S10, misjudgment are handled is 0, if so, turning the acquisition Element Design module side of renaming of S11 step Method;Otherwise, the acquisition trim designs module for turning S122 step renames method.
S11, it obtains by the element object of selection window;The method to be renamed by obtaining Element Design module, changes multiple The name of Element Design simulation completes backed off after random to terminate.
S12, it obtains by the element object of selection window;The method to be renamed by obtaining trim designs module, changes multiple The name of trim designs simulation completes backed off after random to terminate.
Preferably, being specifically included in the S4 step by the way that whether acquisition occurs the method that wrong choice renames:
S41 is obtained by the element object of selection window, then is carried out error handle.
S42, if number of errors is not equal to 0;The acquisition Element Design module for turning next step (S43) renames method;Otherwise, The acquisition trim designs module for turning lower next step (S44) renames method.
S43 inputs name set, if input is sky, exits to terminate;Otherwise, element is named with the name set of input Object (i.e. Element Design module);
S44 inputs dash number, if input is sky, exits to terminate;Otherwise, it is assembled with the dash number title of input Number;Input term title exits if input is sky to terminate;Otherwise, term name is kept in;With temporary dash number and Term name names element object (i.e. trim designs module) in the way of term name+dash number.Most preferably, the life Name can be by being realized with minor function: Value1.Parent.Parent.ReferenceProduct.Products.Item (Value1.Name) .Name=Mingzi2;Wherein, Mingzi2 is the term name of input.
Preferably, the method for renaming of Element Design module specifically includes in the S11 step:
S111 is obtained by the element object of selection window.
S112 is named part in a manner of title basis+serial number, wherein title basis is input initial input , and serial number be on the basis of the initial sequence number of input circular treatment and obtain;It is right also, in above-mentioned circular treatment In doing ten benefits 0 less than 10 and adding 1 processing respectively, is only done respectively for 10 or more plus 1 is handled;I.e. first to currentElement serial number with The value that the sum of initial sequence number subtracts 1 executes different processing modes afterwards compared with 10.Most preferably, the name can pass through following letter Number is realized:
Wherein, MingCheng1 is " the title basis " of input, and MingCheng2 is " initial sequence number " of input, and I is to work as The serial number of preceding element, 1 < I≤number of elements.
Preferably, the method for renaming of trim designs module specifically includes in the S12 step:
S121 is obtained by the element object of selection window.
S122 is named assembly in a manner of title basis+serial number, wherein title basis is input initial input , and serial number be on the basis of the initial sequence number of input circular treatment and obtain;It is right also, in above-mentioned circular treatment In doing ten benefits 0 less than 10 and adding 1 processing respectively, is only done respectively for 10 or more plus 1 is handled;I.e. first to currentElement serial number with The value that the sum of initial sequence number subtracts 1 executes different processing modes afterwards compared with 10.Most preferably, the name can pass through following letter Number is realized:
Wherein, MingCheng1 is " the title basis " of input, and MingCheng2 is " initial sequence number " of input, and I is to work as The serial number of preceding element successively defines, the value range of I are as follows: 1 < I≤number of elements after obtaining.
A kind of CATIA element term quickly changes device, comprising:
Window obtains module, for obtaining the active window of CATIA;
Number of elements obtains module, the number of elements in CATIA active window for obtaining upper module selection;
Element non-zero judgment module, for judging whether the number of elements obtained is zero, if so, exiting to terminate;If Individually, turn first module that renames to carry out individual element and rename;If multiple, turn element object and obtain module to carry out multiple members Element renames;
First renames module, mistake whether occurs selects the side to rename for first carrying out error handle, then by obtaining Method renames to individual element, completes backed off after random;
First element object obtains module, for obtaining by the element object of selection window, and carries out error handle;
First title input module, for receiving input title foundation;
First judgment module, for judging whether the content of S6 step input is blank, if so, exit to terminate, if not Sky turns the second title input module;
Second title input module, the serial number started for receiving input ascending order;
Second judgment module, for judging whether the content of S8 step input is blank, if so, exit to terminate, if not Sky turns S10 step;
Wrong choice judgment module, whether the result for the processing that judges incorrectly is 0, renames module, obtains if so, turning second Element Design module is taken to rename method;Otherwise, turn third to rename module, obtain trim designs module and rename method;
Second renames module, for obtaining by the element object of selection window;It is renamed by obtaining Element Design module Method changes the name of multiple Element Design simulations, completes backed off after random to terminate;
Third renames module, for obtaining by the element object of selection window;It is renamed by obtaining trim designs module Method changes the name of multiple trim designs simulations, completes backed off after random to terminate.
Preferably, described first module that renames includes:
Object acquisition and error handling module for first obtaining by the element object of selection window, then carry out error handle;
False judgment module, for quantity and the corresponding module that renames of selection of judging incorrectly, if number of errors is not equal to 0; Turn the first Element Design to rename module, obtains Element Design module and rename method;Otherwise, turn the first trim designs to rename module, Trim designs module is obtained to rename method;
First Element Design renames module, for renaming to single part design module, name set is inputted, if defeated Enter for sky, exits to terminate;Otherwise, element object is named with the name set of input;
First trim designs rename module, for renaming to single trim designs module, dash number are inputted, if defeated Enter for sky, exits to terminate;Otherwise, with the dash number title assembly number of input;Input term title, if input is sky, It exits to terminate;Otherwise, term name is kept in;With dash number and term name, ordered in the way of term name+dash number Name element object.
Preferably, described second module that renames includes:
Second element object acquisition module, for obtaining by the element object of selection window;
Second Element Design renames module, for renaming to single part design module, with title basis+serial number Mode is named part, wherein title basis is input initial input, and serial number is the base in the initial sequence number of input Circular treatment on plinth and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 to handle respectively, It is only done respectively for 10 or more plus 1 is handled.
Preferably, the third renames, module includes:
Third element object acquisition module, for obtaining by the element object of selection window;
Second trim designs rename module, for renaming to single trim designs module, with title basis+serial number Mode is named assembly, wherein title basis is input initial input, and serial number is the base in the initial sequence number of input Circular treatment on plinth and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 to handle respectively, It is only done respectively for 10 or more plus 1 is handled.
Most preferably, the error handle use value.part name method, with by judge whether occur mistake come Part and assembly are distinguished, and is renamed respectively to the two again.
Above-mentioned method and device can quickly change element term in CATIA software and define, can be in CATIA software Product and element term individually or mass change, realize the number and example for quickly changing product in CATIA in Product Assembly Title realizes the purpose of the change of element term in Element Design.This method and device are based on macros in CATIA software and connect Mouthful, repetitive work in the operation that renames can be reduced, is very convenient and practical auxiliary tool.

Claims (10)

1. a kind of CATIA element term quickly changes method characterized by comprising
S1, the active window for obtaining CATIA;
The number of elements in CATIA active window that S2, acquisition previous step select;
S3, judge whether the number of elements obtained is zero, if so, exiting to terminate;If single, turn S4 step and carry out single member Element renames;If multiple, turn S5 step and carry out renaming for multiple elements;
S4, error handle being carried out first, then selecting the method to rename by the way that whether acquisition occurs mistake, individual element is carried out It renames, completes backed off after random;
S5, it obtains by the element object of selection window, and carries out error handle;
S6, input title foundation;
Whether S7, the content for judging the input of S6 step are blank, if so, exiting to terminate, if non-empty, turn S8 step;
The serial number that S8, input ascending order start;
Whether S9, the content for judging the input of S8 step are blank, if so, exiting to terminate, if non-empty, turn S10 step;
S10, misjudgment processing result whether be 0, if so, turn S11 step, obtain Element Design module and rename method;It is no Then, turn S12 step, obtain trim designs module and rename method;
S11, it obtains by the element object of selection window;The method to be renamed by obtaining Element Design module, changes multiple parts The name of design simulation completes backed off after random to terminate;
S12, it obtains by the element object of selection window;The method to be renamed by obtaining trim designs module, changes multiple assembly The name of design simulation completes backed off after random to terminate.
2. the method according to claim 1, wherein the S4 step includes:
S41 is obtained by the element object of selection window, then is carried out error handle;
S42, if number of errors is not equal to 0;Turn S43 step, obtains Element Design module and rename method;Otherwise, turn S44 step, Trim designs module is obtained to rename method;
S43 inputs name set, if input is sky, exits to terminate;Otherwise, element object is named with the name set of input;
S44 inputs dash number, if input is sky, exits to terminate;Otherwise, with the dash number title assembly number of input; Input term title exits if input is sky to terminate;Otherwise, term name is kept in;With temporary dash number and term name Claim, names element object in the way of term name+dash number.
3. the method according to claim 1, wherein the S11 step includes:
S111 is obtained by the element object of selection window;
S112 is named part in a manner of title basis+serial number, wherein and title basis is input initial input, and Serial number be on the basis of the initial sequence number of input circular treatment and obtain;Also, in above-mentioned circular treatment, for being less than 10, which do ten, mends 0 and adds 1 processing respectively, only does respectively for 10 or more plus 1 is handled.
4. the method according to claim 1, wherein the S12 step includes:
S121 is obtained by the element object of selection window;
S122 is named assembly in a manner of title basis+serial number, wherein and title basis is input initial input, and Serial number be on the basis of the initial sequence number of input circular treatment and obtain;Also, in above-mentioned circular treatment, for being less than 10, which do ten, mends 0 and adds 1 processing respectively, only does respectively for 10 or more plus 1 is handled.
5. method according to claim 1-4, which is characterized in that the error handle uses value.part The method of name to distinguish part and assembly by judging whether that mistake occurs, and again respectively renames to the two.
6. a kind of CATIA element term quickly changes device characterized by comprising
Window obtains module, for obtaining the active window of CATIA;
Number of elements obtains module, the number of elements in CATIA active window for obtaining upper module selection;
Element non-zero judgment module, for judging whether the number of elements obtained is zero, if so, exiting to terminate;If single, Turn first module that renames to carry out individual element and rename;If multiple, turn element object and obtain module to carry out multiple elements It renames;
First renames module, mistake whether occurs selects the method to rename for first carrying out error handle, then by obtaining, right Individual element renames, and completes backed off after random;
First element object obtains module, for obtaining by the element object of selection window, and carries out error handle;
First title input module, for receiving input title foundation;
First judgment module, if so, exiting to terminate, if non-empty, turns for judging whether the content of S6 step input is blank Second title input module;
Second title input module, the serial number started for receiving input ascending order;
Second judgment module, if so, exiting to terminate, if non-empty, turns for judging whether the content of S8 step input is blank S10 step;
Wrong choice judgment module, whether the result for the processing that judges incorrectly is 0, renames module if so, turning second, obtains zero Part design module renames method;Otherwise, turn third to rename module, obtain trim designs module and rename method;
Second renames module, for obtaining by the element object of selection window;The method to be renamed by obtaining Element Design module, The name for changing multiple Element Design simulations, completes backed off after random to terminate;
Third renames module, for obtaining by the element object of selection window;The method to be renamed by obtaining trim designs module, The name for changing multiple trim designs simulations, completes backed off after random to terminate.
7. device according to claim 6, which is characterized in that described first module that renames includes:
Object acquisition and error handling module for first obtaining by the element object of selection window, then carry out error handle;
False judgment module, for quantity and the corresponding module that renames of selection of judging incorrectly, if number of errors is not equal to 0;Turn the One Element Design renames module, obtains Element Design module and renames method;Otherwise, turn the first trim designs to rename module, obtain Trim designs module renames method;
First Element Design renames module, for renaming to single part design module, name set is inputted, if input is Sky is exited to terminate;Otherwise, element object is named with the name set of input;
First trim designs rename module, for renaming to single trim designs module, dash number are inputted, if input is Sky is exited to terminate;Otherwise, with the dash number title assembly number of input;Input term title exits if input is sky To terminate;Otherwise, term name is kept in;With temporary dash number and term name, in the way of term name+dash number Name element object.
8. device according to claim 6, which is characterized in that described second module that renames includes:
Second element object acquisition module, for obtaining by the element object of selection window;
Second Element Design renames module, for renaming to single part design module, in a manner of title basis+serial number Part is named, wherein title basis is input initial input, and serial number is on the basis of the initial sequence number of input Circular treatment and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 processing respectively, for 10 or more only do respectively plus 1 processing.
9. device according to claim 5, which is characterized in that the third module that renames includes:
Third element object acquisition module, for obtaining by the element object of selection window;
Second trim designs rename module, for renaming to single trim designs module, in a manner of title basis+serial number Assembly is named, wherein title basis is input initial input, and serial number is on the basis of the initial sequence number of input Circular treatment and obtain;Also, in above-mentioned circular treatment, for doing ten benefits 0 less than 10 and adding 1 processing respectively, for 10 or more only do respectively plus 1 processing.
10. according to the described in any item devices of claim 6-9, which is characterized in that the error handle uses value.part The method of name to distinguish part and assembly by judging whether that mistake occurs, and again respectively renames to the two.
CN201910814723.8A 2019-08-30 2019-08-30 CATIA element name rapid changing method and device Active CN110516381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910814723.8A CN110516381B (en) 2019-08-30 2019-08-30 CATIA element name rapid changing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910814723.8A CN110516381B (en) 2019-08-30 2019-08-30 CATIA element name rapid changing method and device

Publications (2)

Publication Number Publication Date
CN110516381A true CN110516381A (en) 2019-11-29
CN110516381B CN110516381B (en) 2023-02-17

Family

ID=68629503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910814723.8A Active CN110516381B (en) 2019-08-30 2019-08-30 CATIA element name rapid changing method and device

Country Status (1)

Country Link
CN (1) CN110516381B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013425A (en) * 2005-12-30 2007-08-08 达索系统公司 Process for displaying objects of a PLM database and apparatus implementing this process
US20100030525A1 (en) * 2008-07-29 2010-02-04 Freescale Semiconductor, Inc. Gui-facilitated change management for vehicle electrical/electronic architecture design
CN103745031A (en) * 2013-12-17 2014-04-23 福建省电力勘测设计院 Electric transmission line house distribution graph generating method based on GIS mode
CN105426603A (en) * 2015-11-12 2016-03-23 重庆工业职业技术学院 Intelligent CATIA engineering drawing system
CN106021359A (en) * 2016-05-10 2016-10-12 北京数码大方科技股份有限公司 CAD file modification method and device
CN107480374A (en) * 2017-08-14 2017-12-15 中国铁道科学研究院铁道建筑研究所 A kind of bridge BIM model creation methods based on CATIA
CN110069472A (en) * 2019-03-13 2019-07-30 广州明珞汽车装备有限公司 A kind of Fast design method and system based on library

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013425A (en) * 2005-12-30 2007-08-08 达索系统公司 Process for displaying objects of a PLM database and apparatus implementing this process
US20100030525A1 (en) * 2008-07-29 2010-02-04 Freescale Semiconductor, Inc. Gui-facilitated change management for vehicle electrical/electronic architecture design
CN103745031A (en) * 2013-12-17 2014-04-23 福建省电力勘测设计院 Electric transmission line house distribution graph generating method based on GIS mode
CN105426603A (en) * 2015-11-12 2016-03-23 重庆工业职业技术学院 Intelligent CATIA engineering drawing system
CN106021359A (en) * 2016-05-10 2016-10-12 北京数码大方科技股份有限公司 CAD file modification method and device
CN107480374A (en) * 2017-08-14 2017-12-15 中国铁道科学研究院铁道建筑研究所 A kind of bridge BIM model creation methods based on CATIA
CN110069472A (en) * 2019-03-13 2019-07-30 广州明珞汽车装备有限公司 A kind of Fast design method and system based on library

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戈家荣: ""CATIA二次开发——基于VB的重命名方法"", 《电子技术与软件工程》 *

Also Published As

Publication number Publication date
CN110516381B (en) 2023-02-17

Similar Documents

Publication Publication Date Title
Li et al. Design for product adaptability
Leger Darwin2K: An evolutionary approach to automated design for robotics
Tacconi et al. A new matrix model for discrete event systems: application to simulation
EP0256133A1 (en) Apparatus for controlling robot
Banas et al. Determination of the robot location in a workcell of a flexible production line
CN111832844A (en) AGV shortest path planning method and device and computer readable storage medium
Dangerfield et al. An overview of strategy and tactics in system dynamics optimization
CN110516381A (en) CATIA element term quickly changes method and device
CN103135975B (en) The element sequence auto arranging method of control strategy configuration and logical connection method thereof
CN115983584A (en) Assembly process planning optimization method, device, equipment and medium
US7376483B2 (en) Location selection system and method
US20230169225A1 (en) Smart Phrase Generator to Instruct Digital Manikin Action
Torres Conservation laws in optimal control
Katagami et al. Active teaching for an interactive learning robot
Munir et al. Eco-efficiency and control loop configuration for recycle systems
Deuse et al. Renaissance of group technology: Reducing variability to match lean production prerequisites
Goevert et al. Further development of an agile technique toolbox for mechatronic product development
Law et al. Expertfit: total support for simulation input modeling
Park et al. Development of automatic assembly sequence generating system based on the new type of parts liaison graph
US6944816B2 (en) Automated system for performing kepner tregoe analysis for spread sheet output
Tong et al. Sequencing mixed-model flexible assembly lines with variable launching intervals
EP3472734B1 (en) Detection and elimination of stress singularity
Guariniello et al. Impact of Level of Autonomy on Space Systems Sizing and System-of-Systems Metrics
US7571085B2 (en) Vehicle component selection system and method
US20220414573A1 (en) Method and system for semi-automatic completion of an engineering project

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant