<strong>Creo Parametric related:</strong> Comput_Fluid Dynamic,Creep_Clear Analysis,Creo Ansys Simulation,Creo Simulation Live,General,Mechanism Design,Mold Analysis,Simulate
Recently active
Hi AllI'm working on a way to develop a faster method to detail my components.I'm asking for some assistance in hopes that someone may have some tipsto share. My basic outline;Using a list of parts that need detailing and somehow merge the namesinto a working trail file. IE.File list called detail.txtContents of this file:n11093-2000.prtn11156-2005.prtn11156-2400.prtn11156-2501.prtn11156-2502.prt Working Trail file called detail_trail.txtContents of this file: !trail file version No. 1400!Pro/ENGINEER TM Wildfire 4.0 (c) 2009 by Parametric TechnologyCorporation All Rights Reserved.~ Command `ProCmdModelNew` ~ Select `new` `Type` \1 `Drawing`~ Activate `new` `chk_use_default_template` \0 ~ Activate `new` `OK`!Command ProCmdModelNewExe was pushed from the software.~ Activate `dwg_create` `psh_model_browse`< 2 0.118519 178 0 0 100 1600 0 0 1200 13~ Trail `UI Desktop` `UI Desktop` \ `DLG_PREVIEW_POST` \ `file_open`~ Select `file_open` `Ph_list.Filelist` \1 `nxxxxx-2000.prt`~ Activate `f
How I can convert real numbers to strings. If I use the function “itos(int)� the real number will be rounded off and I want to keep the decimal places to appear in the string. My idea is to have one string parameter created from few real numbers parameters. For example: Size = length x width Where: Size is a string parameter. Length &amp; width are real numbers parameters extracted from actual dimensions in my part. The only way I found so far to achieve this is to multiply the real number by 1000 (if I want to keep 3 decimal places ), then using “itos(int)� &amp; “extract(string, position, length)� to configure the desired string, digit by digit. But that is very complicated for something, which seems so simple. Any better ideas? Thank youThis thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button t
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.