Copy and Paste IDs


Author
Message
adambroom
a
Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)Supreme Being (562 reputation)
Group: Forum Members
Posts: 5, Visits: 22
Can someone please explain how the unique ID works when copying and Pasteur’s

I’ve a drawing whereby if I copy and then paste to he same drawing all pasted objects appear to get a new ID. If I copy from one drawing and paste into a new drawing some IDs stay same as the source. This is causing issues when changing details on new drawing as original is also affected

Thanks

Adam
Rob Robinson
Rob Robinson
Forum Administrator (381K reputation)
Group: Administrators
Posts: 2.3K, Visits: 8.9K
Hi Adam,

Stardraw Design 7.3 supports the representation of a Product Instance - i.e. an instance of a Product in your Project - in more than one drawing.  This is how, for example, you can have a Block Schematic drawing of the system, and a Rack Layout drawing of the same system, without duplicating the count of Products in your Project. 

When you copy a symbol that represents a Product Instance you can paste into a drawing in which that Product Instance is already represented, e.g. the same drawing, or into a drawing.in which the Product Instance is not represented e.g. a new, empty drawing.  If the former, a new ID is generated because the original Product Instance is already there so pasting must create a new Product Instance which is then added to the Project.

If the latter, you're pasting a representation of the same Product Instance, so the ID is the same: it IS the selfsame Product Instance.

So, if you want to 'clone' a drawing to create new Product Instances you should copy (Ctrl+C), then paste (Ctrl+V) into the same drawing - which creates all new Product Instances - then cut (Ctrl+X) then go to the new drawing and Paste (Ctrl+V).

I hope this is helpful.


Kind regards,
Rob Robinson
Stardraw.com
Edited 5 Years Ago by Rob Robinson
thebeardedginga
t
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)
Group: Forum Members
Posts: 1, Visits: 4
Hello, I'm sorry to resurrect an old thread. 

But we're having a similar issue where we have a project with 11 rooms, they are very similar, but different. When designing the original system we "cloned" the first one and began making changes to each subsequent room. However, when we go back to the original, any of the changes that were made to say a text field, or keynote have all changed. So we're having to go back and copy/paste each one of these instances so to create a unique ID for each room page.

This would have been so much more intuitive if the 'cloned' items were given there own unique ID upon creation. I can somewhat understand the reasoning behind not wanting many different instances of an object, as that eventually plays a role in the file size, cache, and processing power. However, for ease of use for the user, this should either be made ABUNDANTLY clear, or it should be set up as how most users would assume it works. This would have saved us hours of time knowing that we should copy paste from tab to tab, rather than simply clone a tab.

We'll only make that mistake once, hopefully.
Rob Robinson
Rob Robinson
Forum Administrator (381K reputation)
Group: Administrators
Posts: 2.3K, Visits: 8.9K
Stardraw Design 7.4, currently in public Beta, has the new feature "Clone Drawing" which, as the name suggests, creates a similar but distinct drawing containing new Product Instances; rightclick on a drawing tab and select Clone Drawing.

If already enrolled in, or joining the SD7.4 Beta program, be sure to check the new features listed at https://www.stardraw.com/sd7/beta and in the Help documentation.


Kind regards,
Rob Robinson
Stardraw.com
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search