×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Paste special in catvbs

Paste special in catvbs

Paste special in catvbs

(OP)
Hello
Iam trying to copy a feature and paste with out link in the same geoset.

.paste() does work fine but

.Pastespecial.("....withoutlink") does add a feature called 3DDatum(i've never seen this before) in my tree that has nothing in it.

any ideas what it is and what is the solutuion?

regards
var

RE: Paste special in catvbs

(OP)
yes I recorded macro, that works fine.
When I copy into my macro, that is doing as shown in picture (3datum).
my question is ... in my macro, paste is working good why pastespecial is not working.

regards
var

RE: Paste special in catvbs

If you are pasting as result into the same part do not use "...without link" if you just want a datum feature. Use .PasteSpecial “CATPrtResult”.

RE: Paste special in catvbs

(OP)
well, all i want have is an isolated/datum feature of it.

by the way, .PasteSpecial “CATPrtResult” is copy with link. I do not understand why not "...without link" be used in same part.

regads
var

RE: Paste special in catvbs

Var, you are correct I misspoke. Sorry. BTW what work bench are you in when you do the paste special? You may need to switch to GSD For it to work properly. Also, what is in the join? How do you create the Join?

RE: Paste special in catvbs

I am wondering if the join is created with a macro and "Check Connexity" and "Manifold Result" are toggled off...or if somehow you were able to put a surface and a curve into the join. I found this description of 3DDatum features on another site:

Manipulating Objects
Using the Paste Special... Command When pasting As Result features with an undetermined dimension i.e. features containing several geometrical domains with a different dimension (such as a point and a line or a line and a plane), the result is a 3DDatum.

If you copy then paste As Result a surface element which is not a point, a line, a surface or curve, a circle or a surface according to the geometrical dimension and the type of the elem If the dimension cannot be determined (this is the case for features containing several geom dimension such as a point and a line or a line and a plane), the result will be a 3DDatum. In the example below, when "Split.1" is copied then pasted As Result onto "Part1", the resu ("Surface.2"):

RE: Paste special in catvbs

(OP)
Hello

THis is join us my last step in my macro (say main macro)

You are right, It has multiple dimension elements (curves, points etc). Problem occurs only when I do copy/paste thru script. If I do manually every thing is fine. (datum feature do not show up)
One more thing I just found is that I can delete,paste that feature. But can not assign color properties thru script.

Again Every thing is fine If I do copy/paste (with link, with out link) in a new script file (without merging with my main macro). That means problem not with CATIA or catia versions. Problem is with my main macro.

I though you guys will have some Idea about it.


thanks
var


RE: Paste special in catvbs

(OP)
ya I will tonight. Is that catpart. ?

RE: Paste special in catvbs

When you say points, are they point features you are creating or BREP vertices that are created when you create a line or curve. If you try to join points manually, it will not work. If you try to join a surface and a line, it will not work. I have seen some crazy thing happen in macros, so if yours is letting you join surfaces, lines and points, I would not join different element types together. Make separate joins of like elements. It is difficult to understand without seeing the code. Are you clearing your selection object before selecting/copy/pasting the join?

RE: Paste special in catvbs

(OP)
Hi Fernando,

There is only one file attached and not knowing what file is that.

regards

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources